iconSort.tsx 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. import {forwardRef} from 'react';
  2. import {css} from '@emotion/react';
  3. import {SvgIcon, SVGIconProps} from './svgIcon';
  4. interface Props extends SVGIconProps {
  5. rotated?: boolean;
  6. }
  7. const IconSort = forwardRef<SVGSVGElement, Props>(({rotated, ...props}, ref) => {
  8. return (
  9. <SvgIcon
  10. {...props}
  11. ref={ref}
  12. css={
  13. rotated &&
  14. css`
  15. transform: rotate(90deg);
  16. `
  17. }
  18. >
  19. <path d="M15.49 11.76a.75.75 0 0 1-.22.53l-2.88 2.88a.75.75 0 0 1-1.06 0l-2.87-2.88a.74.74 0 0 1 0-1.06.75.75 0 0 1 1.06 0l2.34 2.35 2.35-2.35a.75.75 0 0 1 1.06 0 .79.79 0 0 1 .22.53Z" />
  20. <path d="M12.61 1.34v13.3a.75.75 0 1 1-1.5 0V1.34a.75.75 0 1 1 1.5 0Z" />
  21. <path d="M7.87 4.22a.74.74 0 0 1-.22.53.75.75 0 0 1-1.06 0L4.25 2.4 1.9 4.75A.75.75 0 0 1 .84 3.69L3.72.81a.75.75 0 0 1 1.06 0l2.87 2.88a.74.74 0 0 1 .22.53Z" />
  22. <path d="M5 1.34v13.3a.75.75 0 1 1-1.5 0V1.34a.75.75 0 0 1 1.5 0Z" />
  23. </SvgIcon>
  24. );
  25. });
  26. IconSort.displayName = 'IconSort';
  27. export {IconSort};