WarningRedIcon.tsx 829 B

1234567891011121314151617181920212223242526272829303132
  1. import React from 'react';
  2. import { useTheme } from 'styled-components';
  3. const WarningRedIcon: React.FC = () => {
  4. const theme = useTheme();
  5. return (
  6. <svg
  7. width="20"
  8. height="20"
  9. viewBox="0 0 20 20"
  10. fill="none"
  11. xmlns="http://www.w3.org/2000/svg"
  12. >
  13. <rect
  14. width="20"
  15. height="20"
  16. rx="10"
  17. fill={theme.icons.warningRedIcon.rectFill}
  18. />
  19. <path
  20. d="M9 4.74219H11V12.7422H9V4.74219Z"
  21. fill={theme.icons.warningRedIcon.pathFill}
  22. />
  23. <path
  24. d="M9 14.7422C9 14.1899 9.44772 13.7422 10 13.7422C10.5523 13.7422 11 14.1899 11 14.7422C11 15.2945 10.5523 15.7422 10 15.7422C9.44772 15.7422 9 15.2945 9 14.7422Z"
  25. fill={theme.icons.warningRedIcon.pathFill}
  26. />
  27. </svg>
  28. );
  29. };
  30. export default WarningRedIcon;