@upv/react-ui-core
Version:
**USHI Design System — Modern UI Component Library**
21 lines (20 loc) • 663 B
TypeScript
import React from "react";
type AutoDisableMode = "click" | "timer";
interface IconButtonProps {
icon: React.ReactNode;
ariaLabel: string;
onClick?: (e?: any) => void;
variant?: "primary" | "secondary" | "ghost" | "outline" | "flat" | "text";
size?: "small" | "compact" | "fit" | "medium" | "large";
disabled?: boolean;
isLoading?: boolean;
autoDisable?: boolean;
autoDisableMode?: AutoDisableMode;
autoDisableTimeout?: number;
className?: string;
rounded?: boolean;
onMouseDown?: (e?: any) => void;
onTouchStart?: (e?: any) => void;
}
export declare const IconButton: React.FC<IconButtonProps>;
export {};