iconEllipsis.tsx 746 B

1234567891011121314151617181920212223242526
  1. import {forwardRef} from 'react';
  2. import type {SVGIconProps} from './svgIcon';
  3. import {SvgIcon} from './svgIcon';
  4. interface IconEllipsisProps extends SVGIconProps {
  5. compact?: boolean;
  6. }
  7. const IconEllipsis = forwardRef<SVGSVGElement, IconEllipsisProps>(
  8. ({compact = false, ...props}: IconEllipsisProps, ref) => {
  9. const circleRadius = compact ? 1.11 : 1.31;
  10. const circleSpacing = compact ? 5.5 : 6.69;
  11. return (
  12. <SvgIcon {...props} ref={ref}>
  13. <circle cx="8" cy="8" r={circleRadius} />
  14. <circle cx={8 - circleSpacing} cy="8" r={circleRadius} />
  15. <circle cx={8 + circleSpacing} cy="8" r={circleRadius} />
  16. </SvgIcon>
  17. );
  18. }
  19. );
  20. IconEllipsis.displayName = 'IconEllipsis';
  21. export {IconEllipsis};