Interface EditableLabelProps

interface EditableLabelProps {
    createInput?: ((props) => ReactElement<HTMLInputElement, string | JSXElementConstructor<any>>);
    disabled?: boolean;
    dragging?: boolean;
    maxLength?: number;
    notifier?: Notifier;
    onCancel?: (() => void);
    onChange?: ((value) => void);
    onSubmit?: ((value) => boolean | void);
    readOnly?: boolean;
    styleHover?: CSSProperties;
    value?: string;
}

Hierarchy

  • Omit<React.HTMLAttributes<HTMLDivElement>, "onSubmit" | "onChange">
    • EditableLabelProps

Properties

createInput?: ((props) => ReactElement<HTMLInputElement, string | JSXElementConstructor<any>>)

Type declaration

    • (props): ReactElement<HTMLInputElement, string | JSXElementConstructor<any>>
    • Parameters

      • props: any

      Returns ReactElement<HTMLInputElement, string | JSXElementConstructor<any>>

disabled?: boolean
dragging?: boolean
maxLength?: number
notifier?: Notifier
onCancel?: (() => void)

Type declaration

    • (): void
    • Returns void

onChange?: ((value) => void)

Type declaration

    • (value): void
    • Parameters

      • value: string

      Returns void

onSubmit?: ((value) => boolean | void)

Type declaration

    • (value): boolean | void
    • Parameters

      • value: string

      Returns boolean | void

readOnly?: boolean
styleHover?: CSSProperties
value?: string