0.8.0 • Published 5 years ago

@cmds/gallery-view v0.8.0

Weekly downloads
2
License
MIT
Repository
-
Last release
5 years ago

GalleryView GalleryView

npm package

Used for displaying records as individual cards in a gallery.

GalleryView

Getting started

npm install @cmds/gallery-view --save

Prop Types

PropertyTypeRequired?Description
idStringUnique id for the instance of this view
cardCountRoleThe amount of cards to be rendered
cardHeightNumberHeight of the cards
cardWidthNumberWidth of the cards. Defaults to 240
cardRendererFunctionCallback invoked whenever one of the cards get's rendered: ({index: number}): jsx

More information

This component is designed and developed as part of Cosmos Design System.

0.8.0

5 years ago

0.7.0

5 years ago

0.6.0

5 years ago

0.5.0

5 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago