import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const Golf = (allProps: IconProps) => { const { svgProps: props, iconStyle, ...restProps } = allProps; const styles: { [style: string]: React.ReactNode } = { Broken: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M16.979 21.536C15.513 21.831 13.813 22 12 22c-5.523 0-10-1.567-10-3.5S6.477 15 12 15s10 1.567 10 3.5c0 .548-.36 1.066-1 1.527M12 18V2M12 3.5l5.422 2.711c1.561.78 2.342 1.171 2.342 1.789 0 .618-.78 1.008-2.342 1.789L12 12.5" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /></svg>, LineDuotone: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><ellipse opacity={0.5} cx={12} cy={18.5} rx={10} ry={3.5} stroke="currentColor" strokeWidth={1.5} /><path d="M12 18V2M12 3.5l5.422 2.711c1.561.78 2.342 1.171 2.342 1.789 0 .618-.78 1.008-2.342 1.789L12 12.5" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /></svg>, Linear: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><ellipse cx={12} cy={18.5} rx={10} ry={3.5} stroke="currentColor" strokeWidth={1.5} /><path d="M12 18V2M12 3.5l5.422 2.711c1.561.78 2.342 1.171 2.342 1.789 0 .618-.78 1.008-2.342 1.789L12 12.5" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /></svg>, Outline: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path fillRule="evenodd" clipRule="evenodd" d="M12 1.25a.75.75 0 0 1 .75.75v1.037l5.062 2.53c.734.367 1.36.68 1.796.984.441.309.906.756.906 1.449 0 .693-.465 1.14-.906 1.449-.436.304-1.062.617-1.796.984l-5.062 2.53v1.296c2.53.064 4.83.45 6.569 1.058.95.333 1.774.747 2.373 1.243.595.492 1.058 1.144 1.058 1.94s-.463 1.448-1.058 1.94c-.6.496-1.422.91-2.373 1.243-1.909.668-4.496 1.067-7.319 1.067-2.823 0-5.41-.4-7.319-1.067-.95-.333-1.773-.747-2.373-1.243-.595-.492-1.058-1.144-1.058-1.94s.463-1.448 1.058-1.94c.6-.496 1.422-.91 2.373-1.243 1.738-.608 4.04-.994 6.569-1.058V2a.75.75 0 0 1 .75-.75Zm.75 3.464v6.572l4.337-2.168c.803-.402 1.328-.666 1.662-.9.158-.11.227-.181.254-.218a1.143 1.143 0 0 0-.254-.218c-.334-.234-.859-.498-1.662-.9L12.75 4.714Zm6.27 3.317s-.003-.005-.004-.013c.005.009.005.013.005.013Zm-.004-.05c.001-.007.004-.012.005-.012 0 0 0 .004-.005.013ZM11.25 15.76c-2.395.064-4.523.43-6.073.973-.86.3-1.5.641-1.913.982-.417.346-.514.614-.514.785 0 .17.097.44.514.785.412.34 1.054.681 1.913.982 1.71.599 4.123.983 6.823.983s5.113-.384 6.823-.983c.86-.3 1.5-.641 1.913-.982.417-.346.514-.614.514-.785 0-.17-.097-.44-.514-.785-.412-.34-1.054-.681-1.913-.982-1.55-.543-3.678-.91-6.073-.973V18a.75.75 0 0 1-1.5 0v-2.24Z" fill="currentColor" /></svg>, Bold: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M12 1.25a.75.75 0 0 1 .75.75v1.036l5.008 2.504.054.027c.734.367 1.36.68 1.796.984.442.309.906.756.906 1.449 0 .693-.464 1.14-.906 1.449-.436.304-1.062.617-1.796.984l-5.062 2.53V18a.75.75 0 0 1-1.5 0V2a.75.75 0 0 1 .75-.75Z" fill="currentColor" /><path d="M12 22c5.523 0 10-1.567 10-3.5 0-1.662-3.31-3.054-7.75-3.411V18a2.25 2.25 0 0 1-4.5 0v-2.911C5.31 15.446 2 16.838 2 18.5 2 20.433 6.477 22 12 22Z" fill="currentColor" /><path d="M12 1.25a.75.75 0 0 0-.75.75v16a.75.75 0 0 0 1.5 0v-5.036l5.062-2.531c.734-.367 1.36-.68 1.796-.984.442-.309.906-.756.906-1.449 0-.692-.464-1.14-.906-1.449-.436-.304-1.062-.617-1.796-.984l-5.062-2.53V2a.75.75 0 0 0-.75-.75Z" fill="currentColor" /></svg>, BoldDuotone: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><ellipse opacity={0.5} cx={12} cy={18.5} rx={10} ry={3.5} fill="currentColor" /><path d="M12 1.25a.75.75 0 0 1 .75.75v1.036l5.008 2.504.054.027c.734.367 1.36.68 1.796.984.442.309.906.756.906 1.449 0 .693-.464 1.14-.906 1.449-.436.304-1.062.617-1.796.984l-5.062 2.53V18a.75.75 0 0 1-1.5 0V2a.75.75 0 0 1 .75-.75Z" fill="currentColor" /></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default Golf