0.6.0 • Published 6 years ago
@pndr/text-input v0.6.0
TextInput
Used for entering a single line of text.
Getting started
npm install @cmds/text-input --saveProp 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.