Editable text allows user to edit text in the same place as it's displayed.
Inherits Text props.
Name | Default | Description |
---|---|---|
isDisabled | false | boolean Determines if text is editable. |
placeholder | — | string The placeholder text to use when the field is empty. |
value | — | string Text value. |
onChange | — | (value: string) => void Callback invoked when user confirms the new value. |
onCancel | — | (value: string) => void Callback invoked when user cancels input with the `Esc` key. It provides the last confirmed value as argument. |
On this page