import React from 'react';

import { forwardRef } from '../../utils/react';
import { Icon } from '../../icon';

export const FlashIcon = forwardRef<typeof Icon>(
  function FlashIcon(props, ref) {
    return (
      <Icon ref={ref} {...props}>
        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
          <path
            fill="currentColor"
            d="M14.86 0H8L4 10.59h5.71L6.86 20 16 6.47h-5.14l4-6.47Z"
          />
        </svg>
      </Icon>
    );
  },
);
