Hiyve Components - v1.0.0
    Preparing search index...
    interface EditableTitleProps {
        disabled?: boolean;
        onBlur?: () => void;
        onChange: (value: string) => void;
        onSave?: () => void;
        placeholder?: string;
        readOnly?: boolean;
        saveIcon?: ReactNode;
        saveLabels?: Partial<Record<EditableTitleSaveStatus, string>>;
        saveStatus?: EditableTitleSaveStatus;
        saveTooltip?: string;
        value: string;
    }
    Index

    Properties

    disabled?: boolean

    Disable editing

    onBlur?: () => void

    Called when the input loses focus (good time to persist)

    onChange: (value: string) => void

    Called on every keystroke

    onSave?: () => void

    Manual save callback — renders a save button when unsaved changes exist

    placeholder?: string

    Placeholder text when the field is empty

    readOnly?: boolean

    Read-only mode — renders static text instead of an input

    saveIcon?: ReactNode

    Custom save icon (defaults to MUI SaveIcon)

    saveLabels?: Partial<Record<EditableTitleSaveStatus, string>>

    Custom labels for each save status (defaults provided)

    Current save status — drives the indicator text and spinner

    saveTooltip?: string

    Tooltip text for the save button

    value: string

    Current title value