@cmds/single-line-text-field

0.7.0 • Public • Published

SingleLineTextField SingleLineTextField

npm package

Used for entering a single line of text.

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
text String Single line of text to be displayed / edited
onChange Function Callback invoked whenever the text changes. : ({id: string, text: string}): void

More information

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.7.00latest

Version History

VersionDownloads (Last 7 Days)Published
0.7.00
0.6.20
0.6.10
0.6.00
0.5.00
0.4.00
0.2.00
0.1.00
1.0.00

Package Sidebar

Install

npm i @cmds/single-line-text-field

Weekly Downloads

0

Version

0.7.0

License

MIT

Unpacked Size

216 kB

Total Files

20

Last publish

Collaborators

  • entercosmos