Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: P. Reis <patrickpereirareal1@gmail.com>
This commit is contained in:
Daniel Filemon 2024-07-27 15:41:53 +00:00
parent c5c469541a
commit 3361bf1eb2
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ interface IIcon extends Pick<React.SVGAttributes<SVGAElement>, 'strokeWidth'> {
'data-testid'?: string;
}
/** Renders and SVG icon with optional counter. */
/** Renders an SVG or image icon with optional counter. */
const Icon: React.FC<IIcon> = ({ src, alt, count, size, countMax, ...filteredProps }): JSX.Element => {
const isSVG = src.endsWith('.svg');