@wix/design-system
Version:
@wix/design-system
28 lines (25 loc) • 858 B
Markdown
- type: string
- description: No description
- type: string
- description: Defines a text value that is shown initially
- type: string
- description: Defines text value that is shown when the title is empty. When clicked this value will become a default 'value'
- default: ''
- type: (value: string) => void
- description: Triggers function when a user is done with editing the title
- type: number
- description: Sets the max number of characters that a user can type in the title
- type: boolean
- description: Sets focus on the title as soon as the component is rendered (on mount)
### onChange
- type: ChangeEventHandler
- description: Triggers function when the title is being edited
### value
- type: string
- description: Sets the controlled value of the input