/// export interface IButtonProps { type?: "primary" | "warning" | "ghost"; disabled?: boolean; loading?: boolean; } export interface IClick { x: number; y: number; } export interface IProps extends IButtonProps { prefixCls?: string; className?: string; role?: string; inline?: boolean; icon?: React.ReactNode; activeClassName?: string; activeStyle?: boolean | React.CSSProperties; style?: React.CSSProperties; threshold?: number; stopPropagation?: boolean; preventDefault?: boolean; onClick?(e: IClick): void; onPress?(e: IClick): void; }