UNPKG

obss-air-command-component-library

Version:
20 lines (19 loc) 604 B
import React from 'react'; import * as Icons from '../icons'; export interface ButtonProps { children?: React.ReactNode; variant?: 'primary' | 'outline' | 'subtle' | 'danger' | 'iconOutline' | 'ghost'; size?: 'small' | 'medium'; icon?: keyof typeof Icons | null; iconOnly?: boolean; disabled?: boolean; onClick?: () => void; type?: 'button' | 'submit' | 'reset'; className?: string; fullWidth?: boolean; style?: React.CSSProperties; customColor?: string; iconColor?: string; } export declare const Button: React.FC<ButtonProps>; export default Button;