import { FunctionComponent } from 'react'; import { IStyle } from 'fela'; import { LocationState } from 'history'; import { IAppStyle } from '../../theme'; export declare type IBtnSize = 'md' | 'lg'; export interface IButtonProps { disabled?: boolean; type: 'primary' | 'success'; onClick?: () => void; className?: string; size?: IBtnSize; } export declare type IButton = FunctionComponent; export declare type IButtonStateStyle = { normal: IStyle; hover: IStyle; active: IStyle; disabled: IStyle; }; export interface ILinkButtonProps { size?: IBtnSize; type: 'primary' | 'success'; className?: string; to: LocationState; } export declare type IBtnStyleProps = IAppStyle; export declare type ILinkButton = FunctionComponent;