Created
October 25, 2023 12:53
-
-
Save ThaddeusJiang/5806bc2f02d91561c126a28deaa12d6d to your computer and use it in GitHub Desktop.
antd GridView - Responsive Design
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<List | |
grid={{ | |
gutter: 16, | |
xs: 1, | |
sm: 2, | |
md: 4, | |
lg: 4, | |
xl: 6, | |
xxl: 3, | |
}} | |
dataSource={data} | |
renderItem={item => ( | |
<List.Item> | |
<Card title={item.title}>Card content</Card> | |
</List.Item> | |
)} | |
/> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment