import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const Leaf = (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="m12 9 4-4m-4 9.5 3-3M18.5 8l-1.625 1.625M12 19.5l1.875-1.875M19.5 12l-3.75 3.75M12 22c4.418 0 8-3.646 8-8.143 0-4.462-2.553-9.67-6.537-11.531A3.453 3.453 0 0 0 12 2m0 20c-4.418 0-8-3.646-8-8.143 0-1.586.323-3.266.917-4.857M12 22V2m0 0c-.5 0-.999.109-1.463.326-1.601.748-2.97 2.036-4.037 3.6" 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}><path opacity={0.5} d="m12 9 4.5-4.5m-4.5 10L18.5 8M12 19.5l7.5-7.5" stroke="currentColor" strokeWidth={1.5} /><path d="M12 22c4.418 0 8-3.646 8-8.143 0-4.462-2.553-9.67-6.537-11.531A3.453 3.453 0 0 0 12 2m0 20c-4.418 0-8-3.646-8-8.143 0-4.462 2.553-9.67 6.537-11.531A3.453 3.453 0 0 1 12 2m0 20V2" stroke="currentColor" strokeWidth={1.5} /></svg>, Linear: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="m12 9 4.5-4.5m-4.5 10L18.5 8M12 19.5l7.5-7.5M12 22c4.418 0 8-3.646 8-8.143 0-4.462-2.553-9.67-6.537-11.531A3.453 3.453 0 0 0 12 2m0 20c-4.418 0-8-3.646-8-8.143 0-4.462 2.553-9.67 6.537-11.531A3.453 3.453 0 0 1 12 2m0 20V2" stroke="currentColor" strokeWidth={1.5} /></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="M10.22 1.646a4.203 4.203 0 0 1 3.56 0c2.176 1.017 3.914 2.92 5.104 5.112 1.192 2.194 1.866 4.734 1.866 7.099 0 4.899-3.905 8.893-8.75 8.893-4.845 0-8.75-3.994-8.75-8.893 0-2.365.674-4.905 1.866-7.099 1.19-2.191 2.928-4.095 5.104-5.112Zm1.03 1.21a2.722 2.722 0 0 0-.395.149c-1.809.845-3.339 2.476-4.421 4.469-1.081 1.99-1.684 4.286-1.684 6.383 0 3.836 2.858 6.971 6.5 7.354V2.856Zm1.5 0V7.19l2.628-2.628a8.402 8.402 0 0 0-2.233-1.556 2.722 2.722 0 0 0-.395-.149Zm3.636 2.818L12.75 9.311v3.378l4.954-4.954a12.668 12.668 0 0 0-1.318-2.06Zm1.972 3.529L12.75 14.81v2.878l6.22-6.22.047.049a14.144 14.144 0 0 0-.66-2.315Zm.88 4.12-6.488 6.488v1.4c3.642-.383 6.5-3.518 6.5-7.354 0-.177-.004-.355-.013-.534Z" 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="M11.25 2.083a3.46 3.46 0 0 0-.713.243C6.553 4.188 4 9.395 4 13.856c0 4.24 3.183 7.724 7.25 8.109V2.083ZM12.75 21.965c4.067-.385 7.25-3.868 7.25-8.108 0-.406-.021-.818-.063-1.234l-7.187 7.188v2.154ZM18.26 7.18a13.427 13.427 0 0 0-1.34-2.04l-4.17 4.17v3.38l5.51-5.51ZM15.908 4.03a9.15 9.15 0 0 0-2.445-1.704 3.46 3.46 0 0 0-.713-.243v5.106l3.158-3.158ZM18.936 8.624l-6.186 6.187v2.878l6.75-6.75.132-.132a15.021 15.021 0 0 0-.696-2.183Z" fill="currentColor" /></svg>, BoldDuotone: <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 22c-4.418 0-8-3.646-8-8.143 0-4.462 2.553-9.67 6.537-11.531A3.453 3.453 0 0 1 12 2v20Z" fill="currentColor" /><path opacity={0.3} d="M13.463 2.326A3.453 3.453 0 0 0 12 2v7l4.432-4.432c-.863-.947-1.86-1.724-2.97-2.242Z" fill="currentColor" /><path opacity={0.4} d="M12 9v5.5l6.614-6.614c-.572-1.22-1.308-2.357-2.182-3.318L12 9Z" fill="currentColor" /><path opacity={0.6} d="m12 19.5 7.811-7.811a14.94 14.94 0 0 0-1.197-3.803L12 14.5v5Z" fill="currentColor" /><path opacity={0.7} d="M19.811 11.689 12 19.5V22c4.418 0 8-3.646 8-8.143 0-.71-.064-1.438-.189-2.168Z" fill="currentColor" /></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default Leaf