import React from 'react'; import SvgIcon from './svg-icon'; interface IIcon extends Pick, 'strokeWidth'> { className?: string, count?: number, alt?: string, src: string, size?: number, } const Icon = ({ src, alt, count, size, ...filteredProps }: IIcon): JSX.Element => (
{count ? ( {count} ) : null}
); export default Icon;