@tiiqu/ui
Version:
A customizable, accessible, and developer-friendly React UI component library powered by Tailwind CSS, TypeScript, and Vite
12 lines (11 loc) • 827 B
TypeScript
import { VariantProps } from 'class-variance-authority';
import { ButtonHTMLAttributes } from 'react';
declare const buttonVariants: (props?: ({
intent?: "primary" | "secondary" | "light_primary" | "light_secondary" | "outline_primary" | "outline_secondary" | "outline_gray" | "borderless_primary" | "borderless_secondary" | null | undefined;
size?: "sm" | "md" | "lg" | null | undefined;
fullWidth?: boolean | null | undefined;
disabled?: boolean | null | undefined;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<typeof buttonVariants>;
export declare const Button: ({ className, intent, size, fullWidth, disabled, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
export {};