UNPKG

@betterstore/react

Version:

E-commerce for Developers

11 lines (10 loc) 626 B
import { type VariantProps } from "class-variance-authority"; import * as React from "react"; declare const buttonVariants: (props?: ({ variant?: "link" | "outline" | "default" | "destructive" | "secondary" | "ghost" | null | undefined; size?: "link" | "default" | "sm" | "lg" | "icon" | null | undefined; } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string; declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & { asChild?: boolean; }): React.JSX.Element; export { Button, buttonVariants };