import React from 'react';

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

export const ShareIcon = forwardRef<typeof Icon>(
  function ShredIcon(props, ref) {
    return (
      <Icon ref={ref} {...props}>
        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
          <path
            fill="currentColor"
            fillRule="evenodd"
            d="m19.41 6.92-.7.71-4.31 4.3-1.41-1.4 3.6-3.6-3.51-3.52-3.6 3.6-1.42-1.4 4.31-4.32.7-.7.71.7 4.93 4.93.7.7ZM.6 13.08l.7-.71 4.31-4.3 1.41 1.4-3.6 3.6 3.51 3.52 3.6-3.6 1.42 1.4-4.31 4.32-.7.7-.71-.7-4.93-4.93-.7-.7ZM12.46 6.3l-6.15 6.15 1.23 1.23 6.15-6.15-1.23-1.23Z"
            clipRule="evenodd"
          />
        </svg>
      </Icon>
    );
  },
);
