@dxos/react-ui
    Preparing search index...
    type UseEditableOptions = {
        activation?: EditableActivation;
        blurBehavior?: EditableBlurBehavior;
        defaultValue?: string;
        disabled?: boolean;
        editing?: boolean;
        onEditingChange?: (editing: boolean) => void;
        onValueChange?: (value: string) => void;
        placeholder?: string;
        value?: string;
    }
    Index

    Properties

    activation?: EditableActivation
    blurBehavior?: EditableBlurBehavior
    defaultValue?: string

    Initial text when uncontrolled.

    disabled?: boolean
    editing?: boolean

    Editing state (controlled); pair with onEditingChange to drive it from outside.

    onEditingChange?: (editing: boolean) => void
    onValueChange?: (value: string) => void

    Called when an edit is committed — never while typing, so a keystroke is not a write.

    placeholder?: string

    Shown, dimmed, when the value is empty.

    value?: string

    Current text (controlled).