gluestack-ui Center component helps center-align text and content in React Native. Perfect for creating responsive layouts with React Native text center support.This is an illustration of Center component.
Installation
Run the following command:
npx gluestack-ui add center
API Reference
To use this component in your project, include the following import statement in your file.
import{ Center }from'@/components/ui/center';
exportdefault()=><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.