import React from 'react'; import InlineSVG from 'react-inlinesvg'; interface IIcon { className?: string, count?: number, alt?: string, src: string, } const Icon = ({ src, alt, count, ...filteredProps }: IIcon): JSX.Element => (
{count ? ( {count} ) : null}
); export default Icon;