UNPKG

lightswind

Version:

A collection of beautifully crafted React Components, Blocks & Templates for Modern Developers. Create stunning web applications effortlessly by using our 160+ professional and animated react components.

31 lines (30 loc) 877 B
import * as React from "react"; declare const buttonStyles: { variant: { default: string; destructive: string; outline: string; secondary: string; ghost: string; link: string; github: string; }; size: { default: string; sm: string; lg: string; icon: string; }; }; export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> { variant?: keyof typeof buttonStyles.variant; size?: keyof typeof buttonStyles.size; asChild?: boolean; } export declare function buttonVariants(options?: { variant?: keyof typeof buttonStyles.variant; size?: keyof typeof buttonStyles.size; className?: string; }): string; declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>; export { Button };