import { TextInput as MantineTextInput } from "@mantine/core"; import { assertEmpty } from "@blocknote/core"; import { ComponentProps } from "@blocknote/react"; import { forwardRef } from "react"; export const TextInput = forwardRef< HTMLInputElement, ComponentProps["Generic"]["Form"]["TextInput"] >((props, ref) => { const { className, name, label, icon, value, autoFocus, placeholder, onKeyDown, onChange, onSubmit, ...rest } = props; assertEmpty(rest); return ( ); });