import React, { ComponentType } from 'react'; import clsx from 'clsx'; import { COLOR_GREEN } from 'app/components/ui'; import { Color } from 'app/components/ui'; import buttons from '../buttons.scss'; interface Props extends React.ButtonHTMLAttributes { block?: boolean; small?: boolean; loading?: boolean; className?: string; color?: Color; disabled?: boolean; component?: string | React.ComponentType; } const Button: ComponentType = ({ color = COLOR_GREEN, block, small, disabled, className, loading, component: ComponentProp = 'button', ...restProps }) => ( ); export default Button;