EditIcon.tsx 800 B

1234567891011121314151617181920212223
  1. import React from 'react';
  2. import styled, { useTheme } from 'styled-components';
  3. const EditIcon: React.FC<{ className?: string }> = ({ className }) => {
  4. const theme = useTheme();
  5. return (
  6. <svg
  7. width="13"
  8. height="14"
  9. viewBox="0 0 13 14"
  10. className={className}
  11. fill={theme.icons.editIcon.normal}
  12. xmlns="http://www.w3.org/2000/svg"
  13. aria-labelledby="title"
  14. >
  15. <title>Edit</title>
  16. <path d="M9.53697 1.15916C10.0914 0.60473 10.9886 0.602975 11.5408 1.15524L12.5408 2.15518C13.093 2.70745 13.0913 3.60461 12.5368 4.15904L10.3564 6.33944L7.35657 3.33956L9.53697 1.15916Z" />
  17. <path d="M6.64946 4.04667L9.53674e-07 10.6961L0 13.696L2.99988 13.696L9.64934 7.04655L6.64946 4.04667Z" />
  18. </svg>
  19. );
  20. };
  21. export default styled(EditIcon)``;