This is an illustration of a Themed Center component with default configuration.
<Center bg="$primary500" h={200} w={300}>
<Text color="white" fontWeight="$bold">
API Reference
Import
To use this component in your project, include the following import statement in your file.
import { Center } from '@darden/design-system';
Anatomy
The structure provided below can help you identify and understand a Center component's various parts.
export default () => <Center />
Component Props
This section provides a comprehensive reference list for the component props, detailing descriptions, properties, types, and default behavior for easy project integration.
Center
It inherits all the properties of React Native's
View component.