trufflesuite/truffle

View on GitHub
packages/dashboard/src/components/composed/Debugger/WarningIcon.tsx

Summary

Maintainability
A
1 hr
Test Coverage
export const WarningIcon = () => {
  return (
    <svg
      width="18"
      height="18"
      viewBox="0 0 18 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
    >
      <path
        d="M7.7175 2.89497L1.365 13.5C1.23403 13.7268 1.16473 13.9839 1.16399 14.2459C1.16326 14.5078 1.23112 14.7653 1.36082 14.9929C1.49052 15.2204 1.67754 15.41 1.90328 15.5429C2.12902 15.6757 2.3856 15.7471 2.6475 15.75H15.3525C15.6144 15.7471 15.871 15.6757 16.0967 15.5429C16.3225 15.41 16.5095 15.2204 16.6392 14.9929C16.7689 14.7653 16.8367 14.5078 16.836 14.2459C16.8353 13.9839 16.766 13.7268 16.635 13.5L10.2825 2.89497C10.1488 2.67455 9.96054 2.49231 9.7359 2.36583C9.51125 2.23936 9.2578 2.17291 9 2.17291C8.7422 2.17291 8.48875 2.23936 8.2641 2.36583C8.03946 2.49231 7.8512 2.67455 7.7175 2.89497V2.89497Z"
        stroke="white"
        strokeWidth="1.33333"
        strokeLinecap="round"
        strokeLinejoin="round"
      />
      <path
        d="M9 6.75V9.75"
        stroke="white"
        strokeWidth="1.33333"
        strokeLinecap="round"
        strokeLinejoin="round"
      />
      <path
        d="M9 12.75H9.00667"
        stroke="white"
        strokeWidth="1.33333"
        strokeLinecap="round"
        strokeLinejoin="round"
      />
    </svg>
  );
};