@upv/react-ui-core
Version:
**USHI Design System — Modern UI Component Library**
24 lines (23 loc) • 739 B
TypeScript
import React from "react";
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
variant?: "primary" | "secondary" | "warning" | "outline" | "ghost" | "text" | "flat" | "link";
size?: "small" | "medium" | "large" | "compact" | "fit";
tight?: boolean;
children?: React.ReactNode;
className?: string;
onClick?: () => void;
disabled?: boolean;
isLoading?: boolean;
fullWidth?: boolean;
autoDisable?: boolean;
rounded?: boolean;
success?: boolean;
error?: boolean;
icon?: React.ReactNode;
iconPosition?: "left" | "right";
iconOnly?: boolean;
outlined?: boolean;
ariaLabel?: string;
}
export declare const Button: React.FC<ButtonProps>;
export {};