iconSort.tsx 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. import {forwardRef} from 'react';
  2. import {css} from '@emotion/react';
  3. import type {SVGIconProps} from './svgIcon';
  4. import {SvgIcon} from './svgIcon';
  5. interface Props extends SVGIconProps {
  6. rotated?: boolean;
  7. }
  8. const IconSort = forwardRef<SVGSVGElement, Props>(({rotated, ...props}, ref) => {
  9. return (
  10. <SvgIcon
  11. {...props}
  12. ref={ref}
  13. css={
  14. rotated &&
  15. css`
  16. transform: rotate(90deg);
  17. `
  18. }
  19. >
  20. <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" />
  21. <path d="M12.61 1.34v13.3a.75.75 0 1 1-1.5 0V1.34a.75.75 0 1 1 1.5 0Z" />
  22. <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" />
  23. <path d="M5 1.34v13.3a.75.75 0 1 1-1.5 0V1.34a.75.75 0 0 1 1.5 0Z" />
  24. </SvgIcon>
  25. );
  26. });
  27. IconSort.displayName = 'IconSort';
  28. export {IconSort};