0.13.0 • Published 5 years ago

@pndr/single-line-text-field v0.13.0

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

SingleLineTextField SingleLineTextField

npm package

Used for entering a single line of text.

Prop Types

PropertyTypeRequired?Description
idStringUnique id for the instance of this field
contextIdContextThe appearance will change depending on context in which the field is displayed. Valid options include: recordDetail or recordGridRow or recordGalleryCard or recordListItem
roleIdRoleThe behaviour changes based on the role. Valid options include editor or readOnly
textStringSingle line of text to be displayed / edited
onChangeFunctionCallback invoked whenever the text changes. : ({id: string, text: string}): void

More information

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

0.13.0

5 years ago

0.12.0

5 years ago

0.11.0

5 years ago

0.10.0

5 years ago

0.9.0

5 years ago

0.7.0

5 years ago