UNPKG

@blocknote/mantine

Version:

A "Notion-style" block-based extensible text editor built on top of Prosemirror and Tiptap.

17 lines (16 loc) 657 B
export declare const TextInput: import("react").ForwardRefExoticComponent<{ className?: string; name: string; label?: string; variant?: "default" | "large"; icon: import("react").ReactNode; rightSection?: import("react").ReactNode; autoFocus?: boolean; placeholder?: string; disabled?: boolean; value: string; onKeyDown: (event: import("react").KeyboardEvent<HTMLInputElement>) => void; onChange: (event: import("react").ChangeEvent<HTMLInputElement>) => void; onSubmit?: () => void; autoComplete?: import("react").HTMLInputAutoCompleteAttribute; } & import("react").RefAttributes<HTMLInputElement>>;