import React from 'react';
import type MdIconProps from './icon.model';

const MdInfoIcon: React.FunctionComponent<MdIconProps> = ({ className, ...otherProps }: MdIconProps) => {
  // eslint-disable-next-line no-console
  console.warn('MdInfoIcon is deprecated and will be removed in a future release. Use MdIconInfo instead.');

  return (
    <svg
      viewBox="0 0 32 32"
      version="1.1"
      xmlns="http://www.w3.org/2000/svg"
      xmlnsXlink="http://www.w3.org/1999/xlink"
      className={className}
      {...otherProps}
    >
      <path
        d="M15.7439 3.2002C12.8421 3.20004 10.03 4.20592 7.78669 6.0465C5.54333 7.88708 4.00749 10.4485 3.44078 13.2944C2.87407 16.1403 3.31157 19.0947 4.67873 21.6542C6.04589 24.2138 8.25815 26.2202 10.9387 27.3316C13.6192 28.443 16.6021 28.5908 19.3793 27.7497C22.1565 26.9085 24.5562 25.1306 26.1696 22.7187C27.783 20.3067 28.5103 17.4101 28.2276 14.5221C27.9449 11.6341 26.6696 8.93344 24.6191 6.88019C23.4542 5.71368 22.0707 4.78824 20.5478 4.15679C19.0249 3.52535 17.3925 3.20029 15.7439 3.2002ZM15.7439 26.6722C13.5781 26.6722 11.4609 26.0295 9.66046 24.8256C7.86004 23.6216 6.45734 21.9105 5.62997 19.9089C4.80259 17.9072 4.58774 15.7051 5.01262 13.5813C5.43749 11.4575 6.48299 9.50756 8.01674 7.9783C9.55049 6.44903 11.5035 5.40925 13.6285 4.99059C15.7536 4.57194 17.9551 4.79324 19.9542 5.62647C21.9534 6.45971 23.6604 7.8674 24.8591 9.67134C26.0578 11.4753 26.6943 13.5943 26.6879 15.7602C26.6795 18.6572 25.5227 21.4326 23.4712 23.4781C21.4197 25.5236 18.6409 26.6722 15.7439 26.6722Z"
        fill="currentColor"
      />
      <path d="M16.6557 13.5039H14.8477V23.1679H16.6557V13.5039Z" fill="currentColor" />
      <path
        d="M15.7439 8.75195C15.5066 8.75195 15.2746 8.82233 15.0773 8.95419C14.8799 9.08605 14.7261 9.27346 14.6353 9.49273C14.5445 9.712 14.5207 9.95328 14.567 10.1861C14.6133 10.4188 14.7276 10.6327 14.8954 10.8005C15.0632 10.9683 15.2771 11.0826 15.5098 11.1289C15.7426 11.1752 15.9839 11.1514 16.2032 11.0606C16.4224 10.9698 16.6099 10.816 16.7417 10.6186C16.8736 10.4213 16.9439 10.1893 16.9439 9.95195C16.9439 9.63369 16.8175 9.32847 16.5925 9.10342C16.3674 8.87838 16.0622 8.75195 15.7439 8.75195Z"
        fill="currentColor"
      />
    </svg>
  );
};

export default MdInfoIcon;
