UNPKG

spiderwebai-components

Version:

frontend components like ui, hooks, and more used in spider

12 lines (11 loc) 629 B
import * as React from 'react'; import { type VariantProps } from 'class-variance-authority'; declare const buttonVariants: (props?: { variant?: "link" | "default" | "outline" | "destructive" | "secondary" | "ghost"; size?: "default" | "icon" | "sm" | "lg"; } & import("class-variance-authority/dist/types").ClassProp) => string; export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> { asChild?: boolean; } declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>; export { Button, buttonVariants };