UNPKG

nextuiq

Version:

NextUIQ is a modern, lightweight, and developer-friendly UI component library for React and Next.js. Built with TypeScript and Tailwind CSS, it offers customizable, accessible, and performance-optimized components with built-in dark mode, theme customizat

18 lines (17 loc) 796 B
import { default as React } from 'react'; export interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'aria-label' | 'aria-describedby'> { variant?: 'primary' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link'; size?: 'sm' | 'md'; startIcon?: React.ReactNode; endIcon?: React.ReactNode; tag?: 'button' | 'a'; href?: string; loading?: boolean; loadingText?: string; target?: string; rel?: string; ariaLabel?: string; ariaDescribedBy?: string; disabled?: boolean; } export declare const Button: ({ children, className, variant, size, startIcon, endIcon, disabled, tag, href, loading, loadingText, target, rel, ariaLabel, ariaDescribedBy, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;