iconAdd.tsx 957 B

123456789101112131415161718192021222324252627282930
  1. import {forwardRef, Fragment} from 'react';
  2. import type {SVGIconProps} from './svgIcon';
  3. import {SvgIcon} from './svgIcon';
  4. interface Props extends SVGIconProps {
  5. isCircled?: boolean;
  6. }
  7. const IconAdd = forwardRef<SVGSVGElement, Props>(({isCircled = false, ...props}, ref) => {
  8. return (
  9. <SvgIcon {...props} ref={ref}>
  10. {isCircled ? (
  11. <Fragment>
  12. <path d="M11.28,8.75H4.72a.75.75,0,1,1,0-1.5h6.56a.75.75,0,1,1,0,1.5Z" />
  13. <path d="M8,12a.76.76,0,0,1-.75-.75V4.72a.75.75,0,0,1,1.5,0v6.56A.76.76,0,0,1,8,12Z" />
  14. <path d="M8,16a8,8,0,1,1,8-8A8,8,0,0,1,8,16ZM8,1.53A6.47,6.47,0,1,0,14.47,8,6.47,6.47,0,0,0,8,1.53Z" />
  15. </Fragment>
  16. ) : (
  17. <Fragment>
  18. <path d="M8.75,7.25V2a.75.75,0,0,0-1.5,0V7.25H2a.75.75,0,0,0,0,1.5H7.25V14a.75.75,0,0,0,1.5,0V8.75H14a.75.75,0,0,0,0-1.5Z" />
  19. </Fragment>
  20. )}
  21. </SvgIcon>
  22. );
  23. });
  24. IconAdd.displayName = 'IconAdd';
  25. export {IconAdd};