import { ButtonProps as ThemeButtonProps, SpinnerProps } from 'theme-ui'; import React from 'react'; import { IconName, IconProps } from '../Icon'; export interface ButtonProps extends ThemeButtonProps { loading?: boolean; spinnerProps?: Omit; leadingIcon?: IconName; leadingIconProps?: Omit; trailingIcon?: IconName; trailingIconProps?: Omit; } declare const Button: React.ForwardRefExoticComponent & React.RefAttributes>; export default Button;