CancelIcon.tsx 916 B

1234567891011121314151617181920212223242526272829303132
  1. import React from 'react';
  2. import { useTheme } from 'styled-components';
  3. const CancelIcon: React.FC = () => {
  4. const theme = useTheme();
  5. return (
  6. <svg
  7. xmlns="http://www.w3.org/2000/svg"
  8. viewBox="0 0 64 64"
  9. width="12"
  10. height="12"
  11. aria-labelledby="title"
  12. aria-describedby="desc"
  13. role="img"
  14. >
  15. <title>Cancel</title>
  16. <desc>A line styled icon from Orion Icon Library.</desc>
  17. <path
  18. data-name="layer1"
  19. d="M53.122 48.88L36.243 32l16.878-16.878a3 3 0 0 0-4.242-4.242L32 27.758l-16.878-16.88a3 3 0 0 0-4.243 4.243l16.878 16.88-16.88 16.88a3 3 0 0 0 4.243 4.241L32 36.243l16.878 16.88a3 3 0 0 0 4.244-4.243z"
  20. fill="none"
  21. stroke={theme.icons.cancelIcon}
  22. strokeMiterlimit="10"
  23. strokeWidth="2"
  24. strokeLinejoin="round"
  25. strokeLinecap="round"
  26. />
  27. </svg>
  28. );
  29. };
  30. export default CancelIcon;