import React from 'react'; import { ButtonProps as MuiButtonProps } from '@material-ui/core/Button'; import { ColorType } from '../utils/constants'; declare type BaseProps = Omit; export interface ButtonProps extends BaseProps { loading?: boolean; hide?: boolean; color?: ColorType | 'transparent'; helperText?: string; round?: boolean; smooth?: boolean; /** * @default normal */ size?: 'tiny' | 'small' | 'normal' | 'large'; fullWidth?: boolean; upcaseText?: boolean; justIcon?: boolean; simple?: boolean; styles?: any; outline?: boolean; /** * @default 'Đang xử lý...' */ loadingText?: string; /** * Tooltip placement, @default 'bottom' */ placement?: 'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'; } declare const _default: React.NamedExoticComponent; export default _default;