import classNames from 'classnames'; import React from 'react'; import InlineSVG from 'react-inlinesvg'; import Text from '../text/text'; interface IIconButton extends React.ButtonHTMLAttributes { iconClassName?: string, src: string, text?: string, transparent?: boolean } const IconButton = React.forwardRef((props: IIconButton, ref: React.ForwardedRef): JSX.Element => { const { src, className, iconClassName, text, transparent = false, ...filteredProps } = props; return ( ); }); export default IconButton;