Center
Centers children horizontally and vertically.
Import
import { Center } from "@dhua5922/react-native-kit";
Examples
Live Editor
function Example() { return ( <Div> <Center type="success">Default Center</Center> <Center type="danger" style={{ height: 500 }}> Center With Given Height </Center> </Div> ); }
Result
Loading...
Props
note
Include all props from Div