Skip to content

InlineEdit

Click-to-edit text field.

Import

tsx
import { ZInlineEdit } from "@zurto/ui";

Usage

tsx
<ZInlineEdit value={name} onSave={(value) => setName(value)} />

Props

PropTypeDefaultDescription
valuestringCurrent value
onSave(value: string) => voidSave handler
placeholderstring'Click to edit'Placeholder

Released under the MIT License.