ant-design Masonary Component Required

pvcm50d1  于 3个月前  发布在  其他
关注(0)|答案(3)|浏览(43)

What problem does this feature solve?

I was looking for Masonry Component just like Material UI ( https://mui.com/material-ui/react-masonry/ ) . Although It can be done with Flex and Grid but it will ease the coding if we have masonry just like Pinterest use and we have Material UI as an example for Masonry

What does the proposed API look like?

Props

  1. children : The content of the component.
  2. columns : Number of columns.
  3. spacing: Defines the space between children.
  4. sequential: Allows using sequential order rather than adding to shortest column
7cwmlq89

7cwmlq891#

Seems can be a feature of Flex component.

xe55xuns

xe55xuns2#

Seems can be a feature of Flex component.

I'd like to perfect this component

相关问题