auto-responsive-grid
v1.1.0
Published
Made with create-react-library
Downloads
1
Readme
auto-responsive-grid
Install
npm install --save auto-responsive-grid
Usage
import {
ResponsiveGridItem,
ResponsiveGridWrapper
} from 'auto-responsive-grid'
export default function Page() {
return (
return (
<div>
<ResponsiveGridWrapper maxColumnCount={4} gap={10}>
{posts.map((post) => {
return (
<ResponsiveGridItem minWidth={200}>
<div>{post.title}</div>
</ResponsiveGridItem>
)
})}
</ResponsiveGridWrapper>
</div>
)
)
}
License
MIT © fers4t