@cmds/text-input
v0.2.0
Published
Used for entering a single line of text.
Downloads
4
Readme
TextInput
Used for entering a single line of text.
Getting started
npm install @cmds/text-input --save
Prop Types
| Property | Type | Required? | Description |
|:---|:---|:---:|:---|
| id | String | | Unique identifier for the field |
| className | String | | Add a className to the input |
| value | String | | Text to be edited |
| onChange | Function | | Triggers when the value changes: ({id: string, value: string})
|
More information
This component is designed and developed as part of Cosmos Design System.