sendou.ink/app/components/icons/Error.tsx
William Lam f26e040238
Enable Biome rule "noSvgWithoutTitle" (#1849)
* Turn off noSvgWithoutTitle rule & see how many errors pop up in linting

* Commit with .tsx files containing <svg /> elements now have <title /> tags in them (with English localization)

* Fixed tabbing in some files
2024-08-25 09:10:09 +03:00

18 lines
526 B
TypeScript

export function ErrorIcon({ className }: { className?: string }) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
className={className}
viewBox="0 0 20 20"
fill="currentColor"
>
<title>Error Icon</title>
<path
fillRule="evenodd"
d="M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z"
clipRule="evenodd"
/>
</svg>
);
}