UNPKG

daily-toolset

Version:

A lightweight, versatile collection of TypeScript utility functions for everyday development needs. Simplify and streamline your Node.js, React, and Next.js projects with a powerful suite of well-organized helpers for strings, arrays, dates, objects, and

12 lines (11 loc) 707 B
import * as React from "react"; import { type VariantProps } from "class-variance-authority"; declare const buttonVariants: (props?: ({ variant?: "link" | "default" | "outline" | "green" | "teal" | "destructive" | "secondary" | "ghost" | null | undefined; size?: "default" | "icon" | "sm" | "lg" | "xs" | null | undefined; } & import("class-variance-authority/dist/types").ClassProp) | undefined) => 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 };