import { FunctionComponent, ReactNode } from 'react' interface ButtonProps { onClick?: (e?: React.MouseEvent) => void disabled?: boolean className?: string secondary?: boolean children?: ReactNode } const Button: FunctionComponent = ({ children, onClick, disabled = false, className, secondary, ...props }) => { return ( ) } interface IconButtonProps { hideBg?: boolean } type IconButtonCombinedProps = ButtonProps & IconButtonProps export const IconButton: FunctionComponent = ({ children, onClick, disabled = false, className, hideBg, ...props }) => { return ( ) } export const LinkButton: FunctionComponent = ({ children, onClick, disabled = false, className, secondary, ...props }) => { return ( ) } export default Button