import type { ChangeEventHandler } from 'react'; export type EditableTitleProps = { /** Applies a data-hook HTML attribute that can be used in the tests. */ dataHook?: string; /** Defines a text value that is shown initially. */ initialValue?: string; /** Defines text value that is shown when the title is empty. When clicked, this value becomes the default 'value' * @default '' */ defaultValue?: string; /** Triggers function when a user is done with editing the title. */ onSubmit?: (value: string) => void; /** Sets the max number of characters that a user can type in the title. */ maxLength?: number; /** Sets focus on the title as soon as the component is rendered (on mount) */ autoFocus?: boolean; /** Triggers function when the title is being edited. */ onChange?: ChangeEventHandler; /** Sets the controlled value of the input. */ value?: string; /** Specifies a CSS class name to be appended to the component's root element. */ className?: string; }; //# sourceMappingURL=EditableTitle.types.d.ts.map