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