UNPKG

@assistant-ui/react

Version:

React components for AI chat.

24 lines 1.94 kB
import { type FC } from "react"; import { ButtonProps } from "./base/button"; declare const EditComposer: FC; declare const exports: { Root: import("react").ForwardRefExoticComponent<Partial<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref"> & { ref?: ((instance: HTMLFormElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLFormElement> | null | undefined; } & { asChild?: boolean; }, "ref"> & import("react").RefAttributes<HTMLFormElement>, "ref">> & import("react").RefAttributes<HTMLFormElement>>; Input: import("react").ForwardRefExoticComponent<Partial<Omit<import("react-textarea-autosize").TextareaAutosizeProps & { asChild?: boolean | undefined; submitOnEnter?: boolean | undefined; cancelOnEscape?: boolean | undefined; unstable_focusOnRunStart?: boolean | undefined; unstable_focusOnScrollToBottom?: boolean | undefined; unstable_focusOnThreadSwitched?: boolean | undefined; } & import("react").RefAttributes<HTMLTextAreaElement>, "ref">> & import("react").RefAttributes<HTMLTextAreaElement>>; Footer: import("react").ForwardRefExoticComponent<Partial<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">> & import("react").RefAttributes<HTMLDivElement>>; Cancel: import("react").ForwardRefExoticComponent<Partial<ButtonProps> & import("react").RefAttributes<HTMLButtonElement>>; Send: import("react").ForwardRefExoticComponent<Partial<ButtonProps> & import("react").RefAttributes<HTMLButtonElement>>; }; declare const _default: typeof EditComposer & typeof exports; export default _default; //# sourceMappingURL=edit-composer.d.ts.map