UNPKG

mt-flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

13 lines (12 loc) 823 B
import * as React from "react"; import * as TogglePrimitive from "@radix-ui/react-toggle"; import { VariantProps } from "class-variance-authority"; declare const toggleVariants: (props?: ({ variant?: "outline" | "default" | null | undefined; size?: "sm" | "lg" | "default" | null | undefined; } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string; declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({ variant?: "outline" | "default" | null | undefined; size?: "sm" | "lg" | "default" | null | undefined; } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>; export { Toggle, toggleVariants };