0.6.0 • Published 5 years ago

@cmds/record-detail v0.6.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

RecordDetail

npm package

Used for displaying a record in detail.

Prop Types

PropertyTypeRequired?Description
idStringUnique id for the instance of this record
roleIdRoleThe behaviour changes based on the role. Valid options include editor or readOnly
dataObjectRecord data
fieldCountNumberNumber of fields in the detail
fieldGetterFunctionReturn field data for a field at a given index ({index: int}): obj
cellGetterFunctionReturn cell data for a given field ({fieldData: int}): obj
fieldRendererFunctionResponsible for rendering a field given it's configuration: ({id: string, index: number, field: object}): jsx Learn more

More information

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

0.6.0

5 years ago

0.5.0

6 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.1.0

6 years ago