import React, { DetailedHTMLProps, ButtonHTMLAttributes } from 'react'; import './index.scss'; interface OverrideProps { className?: string; size?: string; background?: string; color?: string; borderColor?: string; onClick: (event: React.MouseEvent) => void; } declare type Omit = Pick>; declare type TProps = Omit, HTMLButtonElement>, keyof OverrideProps> & OverrideProps; declare const IconButton: React.FC; export { IconButton };