If you are using the map
function to render your components, you can try the following code:
// Change to the number of columns in your grid
const numCols = 4
// Change to the spacing for each item
const spacing = '1.25rem';
// Parent View
<View style={{
flex: 1,
…
ı like the solution
Top comments (0)