@cmds/checkbox-field

0.5.0 • Public • Published

CheckboxField CheckboxField

npm package

Used for making a choice between yes and no.

Prop Types

Property Type Required? Description
id String Unique id for the instance of this field
contextId Context The appearance will change depending on context in which the field is displayed. Valid options include: recordDetail or recordGridRow or recordGalleryCard or recordListItem
roleId Role The behaviour changes based on the role. Valid options include editor or readOnly
checked Boolean Whether the checkbox is checked or not
onChange Function Callback invoked whenever the checkbox get's toggled. : ({id: string, checked: boolean}): void

More information

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

Readme

Keywords

Package Sidebar

Install

npm i @cmds/checkbox-field

Weekly Downloads

1

Version

0.5.0

License

MIT

Unpacked Size

167 kB

Total Files

8

Last publish

Collaborators

  • entercosmos