

How to use?
Install dependencies
// Install npm npm i @logisticinfotech/react-native-grid // Link package react-native-link @logisticinfotech/react-native-grid
Setup with your project
Once project setup is done then open App.js and import contact library with below code.import { Container, Square } from “@logisticinfotech/react-native-grid”
render() { return ( <Container> <Square xSquares={9} ySquares={1}> <Text>Lorem Ipsum dummy text. Lorem Ipsum dummy text. Lorem Ipsum dummy text.</Text> </Square> </Container> ); }
Property
Container
height : To give height to the container in which all the other components occurs.
isNested : True if container is inside the another container.
backgroundColor : To give backgroundColor to container.
style : To give custom style to container.
Square
xSquares : Number of blocks you need horizontally.
ySquares :Number of blocks you need vertically.
backgroundColor : To give backgroundColor to Squares.
allowHeightExcess : True if height of your component will be dynamic.
fullScreenWidth : True if you want full screen width without marginHorizontal
style : To give custom style to square.