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

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

  return (
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" className={className} {...otherProps}>
      <path
        d="M54.5948 53.3798H11.3148C10.9089 53.3792 10.5104 53.2717 10.1593 53.0681C9.80816 52.8644 9.51691 52.5719 9.31484 52.2198C9.10858 51.8626 9 51.4574 9 51.0448C9 50.6323 9.10858 50.2271 9.31484 49.8698L30.8548 11.1998C31.0615 10.8268 31.3666 10.5176 31.7369 10.306C32.1072 10.0944 32.5285 9.98852 32.9548 9.99985C33.3643 10.0065 33.7647 10.1209 34.1158 10.3316C34.4669 10.5422 34.7563 10.8417 34.9548 11.1998L56.6548 49.8598C56.861 50.2189 56.9695 50.6258 56.9695 51.0398C56.9695 51.4539 56.861 51.8608 56.6548 52.2198C56.4478 52.5808 56.1471 52.8792 55.7845 53.0833C55.4219 53.2875 55.0109 53.39 54.5948 53.3798ZM32.9548 12.0798C32.9074 12.08 32.8608 12.0931 32.8203 12.1178C32.7798 12.1424 32.7467 12.1777 32.7248 12.2198L11.0848 50.8898C11.0616 50.931 11.0494 50.9774 11.0493 51.0247C11.0493 51.0719 11.0614 51.1184 11.0845 51.1596C11.1076 51.2008 11.1409 51.2353 11.1813 51.2599C11.2216 51.2845 11.2676 51.2982 11.3148 51.2998H54.5948C54.6421 51.2982 54.688 51.2845 54.7284 51.2599C54.7687 51.2353 54.8021 51.2008 54.8252 51.1596C54.8483 51.1184 54.8604 51.0719 54.8604 51.0247C54.8603 50.9774 54.8481 50.931 54.8248 50.8898L33.1348 12.2198C33.1174 12.1844 33.0922 12.1533 33.061 12.1291C33.0298 12.1048 32.9935 12.088 32.9548 12.0798Z"
        fill="currentColor"
      />
      <path
        d="M34.5251 40.9898C34.5432 41.2886 34.4709 41.5858 34.3176 41.8428C34.1644 42.0999 33.9372 42.3048 33.6659 42.4309C33.3945 42.5571 33.0914 42.5986 32.7961 42.55C32.5008 42.5014 32.227 42.3651 32.0103 42.1587C31.7936 41.9523 31.644 41.6855 31.5811 41.3929C31.5182 41.1003 31.5449 40.7956 31.6577 40.5184C31.7704 40.2411 31.964 40.0043 32.2133 39.8387C32.4625 39.6731 32.7559 39.5864 33.0551 39.5898C33.4354 39.5818 33.8034 39.7245 34.0788 39.9868C34.3542 40.2491 34.5147 40.6097 34.5251 40.9898ZM34.0851 25.5898V36.8398H31.9551V25.5898H34.0851Z"
        fill="currentColor"
      />
    </svg>
  );
};

export default MdWarningIcon64;
