iconLocation.tsx 1.1 KB

12345678910111213141516171819202122232425262728
  1. import * as React from 'react';
  2. import SvgIcon, {SVGIconProps} from './svgIcon';
  3. interface Props extends SVGIconProps {
  4. isSolid?: boolean;
  5. }
  6. const IconLocation = React.forwardRef<SVGSVGElement, Props>(
  7. ({isSolid = false, ...props}, ref) => {
  8. return (
  9. <SvgIcon {...props} ref={ref}>
  10. {isSolid ? (
  11. <path d="M8,16a.74.74,0,0,1-.45-.15c-4-3-6.09-6.16-6.09-9.29A6.55,6.55,0,0,1,8,0a6.54,6.54,0,0,1,6.54,6.54c0,3.14-2,6.26-6.09,9.29A.74.74,0,0,1,8,16ZM8,4.05a2,2,0,1,0,2,2A2,2,0,0,0,8,4.05Z" />
  12. ) : (
  13. <React.Fragment>
  14. <path d="M8,16a.74.74,0,0,1-.45-.15c-4-3-6.09-6.16-6.09-9.29A6.55,6.55,0,0,1,8,0a6.54,6.54,0,0,1,6.54,6.54c0,3.14-2,6.26-6.09,9.29A.74.74,0,0,1,8,16ZM8,1.51a5,5,0,0,0-5,5c0,2.53,1.69,5.13,5,7.74,3.34-2.61,5-5.21,5-7.74a5,5,0,0,0-5-5Z" />
  15. <path d="M8,8.85a2.78,2.78,0,1,1,2.77-2.77A2.78,2.78,0,0,1,8,8.85Zm0-4A1.28,1.28,0,1,0,9.27,6.08,1.27,1.27,0,0,0,8,4.8Z" />
  16. </React.Fragment>
  17. )}
  18. </SvgIcon>
  19. );
  20. }
  21. );
  22. IconLocation.displayName = 'IconLocation';
  23. export {IconLocation};