ChevronDownIcon.tsx 803 B

123456789101112131415161718192021222324
  1. import React from 'react';
  2. import { useTheme } from 'styled-components';
  3. const ChevronDownIcon: React.FC = () => {
  4. const theme = useTheme();
  5. return (
  6. <svg
  7. width="10"
  8. height="6"
  9. viewBox="0 0 10 6"
  10. fill="none"
  11. xmlns="http://www.w3.org/2000/svg"
  12. >
  13. <path
  14. fillRule="evenodd"
  15. clipRule="evenodd"
  16. d="M0.646447 0.646447C0.841709 0.451184 1.15829 0.451184 1.35355 0.646447L5 4.29289L8.64645 0.646447C8.84171 0.451184 9.15829 0.451184 9.35355 0.646447C9.54882 0.841709 9.54882 1.15829 9.35355 1.35355L5.35355 5.35355C5.15829 5.54882 4.84171 5.54882 4.64645 5.35355L0.646447 1.35355C0.451184 1.15829 0.451184 0.841709 0.646447 0.646447Z"
  17. fill={theme.icons.chevronDownIcon}
  18. />
  19. </svg>
  20. );
  21. };
  22. export default ChevronDownIcon;