UNPKG

@anggiedimasta/ui

Version:

A modern, accessible Vue 3 UI component library with comprehensive documentation, testing, and design system built with Tailwind CSS

14 lines (13 loc) 630 B
export type ButtonVariant = 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link'; export type ButtonSize = 'default' | 'sm' | 'lg' | 'icon'; export interface ButtonProps { as?: string; class?: string | object; variant?: ButtonVariant; size?: ButtonSize; } export declare const buttonCva: (props?: ({ variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined; size?: "default" | "sm" | "lg" | "icon" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export type ButtonVariants = typeof buttonCva;