UNPKG

@pk-design/react-ui-kit

Version:
29 lines (28 loc) 904 B
import { HintProps } from '../constants'; export interface IconProps { left?: any; right?: any; } export declare type ButtonTheme = 'primary' | 'danger' | 'success' | 'warning' | 'default'; export declare type ButtonVariant = 'plain' | 'outlined' | 'filled'; export declare type ButtonSize = 'tiny' | 'small' | 'default' | 'medium' | 'large'; export declare type ButtonIconTheme = 'primary' | 'danger' | 'warning'; export interface ButtonProps extends HintProps { icon?: IconProps; loading?: boolean; loadingText?: string; disabled?: boolean; className?: string; theme?: ButtonTheme; variant?: ButtonVariant; ref?: any; block?: boolean; bold?: boolean; children: any; size?: ButtonSize; link?: boolean; iconOnly?: boolean; iconTheme?: ButtonIconTheme; raised?: boolean; component?: 'button' | any; }