nexxtway/react-rainbow

View on GitHub
src/components/Notification/icons/errorIcon.js

Summary

Maintainability
A
1 hr
Test Coverage
import React from 'react';

export default function ErrorIcon() {
    return (
        <svg
            fill="#ffffff"
            width="16px"
            height="16px"
            viewBox="0 0 16 16"
            version="1.1"
            xmlns="http://www.w3.org/2000/svg"
            xmlnsXlink="http://www.w3.org/1999/xlink"
        >
            <path d="M10.6536364,8 L14.6336932,4.01994318 C15.1221023,3.53153409 15.1221023,2.73965909 14.6336932,2.25085227 L13.7491477,1.36630682 C13.2607386,0.877897727 12.4688636,0.877897727 11.9800568,1.36630682 L8,5.34636364 L4.01994318,1.36630682 C3.53153409,0.877897727 2.73965909,0.877897727 2.25085227,1.36630682 L1.36630682,2.25085227 C0.877897727,2.73926136 0.877897727,3.53113636 1.36630682,4.01994318 L5.34636364,8 L1.36630682,11.9800568 C0.877897727,12.4684659 0.877897727,13.2603409 1.36630682,13.7491477 L2.25085227,14.6336932 C2.73926136,15.1221023 3.53153409,15.1221023 4.01994318,14.6336932 L8,10.6536364 L11.9800568,14.6336932 C12.4684659,15.1221023 13.2607386,15.1221023 13.7491477,14.6336932 L14.6336932,13.7491477 C15.1221023,13.2607386 15.1221023,12.4688636 14.6336932,11.9800568 L10.6536364,8 Z" />
        </svg>
    );
}