@resulbeser1/air-command-ui-components
Version:
UI Components for Air Command System
13 lines (12 loc) • 450 B
TypeScript
export type ButtonVariant = "default" | "outline" | "subtle" | "showHistory" | "danger" | "dangerIcon" | "icon" | "iconOutline" | "dangerOutline";
export type ButtonSize = "default" | "sm";
export interface ButtonProps {
children?: React.ReactNode;
onClick?: () => void;
variant?: ButtonVariant;
size?: ButtonSize;
style?: React.CSSProperties;
icon?: React.ReactNode;
forceWhite?: boolean;
theme?: "light" | "dark";
}