InlineEdit
Click-to-edit text field.
Import
tsx
import { ZInlineEdit } from "@zurto/ui";Usage
tsx
<ZInlineEdit value={name} onSave={(value) => setName(value)} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
value | string | – | Current value |
onSave | (value: string) => void | – | Save handler |
placeholder | string | 'Click to edit' | Placeholder |