@cmds/list-view
v0.7.0
Published
Used for displaying records as individual items in a list.
Downloads
11
Readme
ListView
Used for displaying records as individual items in a list.
Getting started
npm install @cmds/list-view --save
Prop Types
| Property | Type | Required? | Description |
|:---|:---|:---:|:---|
| id | String | ✓ | Unique id for the instance of this view |
| rowCount | Number | ✓ | The amount of rows to be rendered |
| rowGetter | Function | ✓ | Return row data for the index ({index: number})
|
| rowRenderer| Function | ✓ | Callback invoked whenever one of the rows get's rendered: ({index: number, }): jsx
|
More information
This component is designed and developed as part of Cosmos Design System.