zalify-ui

Editable

A component for inline text editing with confirmation controls.

Click to edit

React

Usage

Examples

Sizes

Use the size prop to change the size of the editable.

Click to edit
Click to edit
Click to edit
Click to edit

React

Double Click

Use the activationMode prop to make the content editable when users double click.

Double click to edit

React

With Controls

Add controls such as "edit", "cancel" and "submit" to Editable for better user experience.

Click to edit

React

Controlled

Use the value and onValueChange props to control the editable component.

Click to edit

React

Props

Root