UNPKG

@assistant-ui/react

Version:

React components for AI chat.

17 lines 1.34 kB
import { type VariantProps } from "class-variance-authority"; import { Primitive } from "@radix-ui/react-primitive"; declare const buttonVariants: (props?: ({ variant?: "default" | "outline" | "ghost" | null | undefined; size?: "default" | "icon" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export type ButtonProps = React.ComponentPropsWithoutRef<typeof Primitive.button> & VariantProps<typeof buttonVariants>; declare const Button: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & { ref?: ((instance: HTMLButtonElement | 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<HTMLButtonElement> | null | undefined; } & { asChild?: boolean; }, "ref"> & VariantProps<(props?: ({ variant?: "default" | "outline" | "ghost" | null | undefined; size?: "default" | "icon" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string> & import("react").RefAttributes<HTMLButtonElement>>; export { Button, buttonVariants }; //# sourceMappingURL=button.d.ts.map