import * as classNames from "classnames"; import * as _ from "lodash"; import * as React from "react"; import { Loading, LoadingType } from "./../Loading"; import { Icon, IIconProps } from "./../Icon"; import { initCopy } from "../../utilities/social"; export enum ButtonType { Primary = "primary", Secondary = "secondary", Faded = "faded", Light = "light", } export enum ButtonSize { Large = "large", Small = "small", } export interface IButtonProps { type?: ButtonType; size?: ButtonSize; onClick?: (e: React.SyntheticEvent) => void; text?: string; subtext?: string; subtextTop?: boolean; icon?: IIconProps | Function; iconRight?: boolean; iconLeft?: boolean; iconTop?: boolean; iconInlineText?: boolean; center?: boolean; alignLeft?: boolean; alignCenter?: boolean; innerRef?: React.RefObject; style?: object; capitalize?: boolean; className?: string; loading?: boolean; // For ; } };