import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const Infinity = (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="M10 8A5 5 0 0 0 4 16M14 16a5 5 0 0 0 6-8M7 17c2.761 0 3.5-2 5-5s2.239-5 5-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}><path d="M10 8a5 5 0 1 0-3 9c2.761 0 3.5-2 5-5s2.239-5 5-5a5 5 0 1 1-3 9" 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}><path d="M10 8a5 5 0 1 0-3 9c2.761 0 3.5-2 5-5s2.239-5 5-5a5 5 0 1 1-3 9" 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="M7 7.75a4.25 4.25 0 0 0 0 8.5c.597 0 1.045-.107 1.407-.284.362-.176.679-.442.986-.816.54-.66.983-1.558 1.567-2.741.117-.237.24-.485.37-.744l.34-.69c.581-1.181 1.117-2.27 1.777-3.075.41-.501.89-.923 1.49-1.215.6-.292 1.28-.435 2.063-.435a5.75 5.75 0 1 1-3.45 10.35.75.75 0 0 1 .9-1.2A4.25 4.25 0 1 0 17 7.75c-.597 0-1.045.107-1.407.284-.362.176-.679.442-.986.816-.54.66-.983 1.558-1.567 2.741-.117.237-.24.485-.37.744l-.34.69c-.581 1.181-1.117 2.27-1.777 3.075-.41.501-.89.923-1.49 1.215-.6.292-1.28.435-2.063.435A5.75 5.75 0 1 1 10.451 7.4a.75.75 0 1 1-.901 1.2A4.228 4.228 0 0 0 7 7.75Z" 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 fillRule="evenodd" clipRule="evenodd" d="M7 7.75a4.25 4.25 0 0 0 0 8.5c.597 0 1.045-.107 1.407-.284.362-.176.679-.442.986-.816.54-.66.983-1.558 1.567-2.741.117-.237.24-.485.37-.744l.34-.69c.581-1.181 1.117-2.27 1.777-3.075.41-.501.89-.923 1.49-1.215.6-.292 1.28-.435 2.063-.435a5.75 5.75 0 1 1-3.45 10.35.75.75 0 0 1 .9-1.2A4.25 4.25 0 1 0 17 7.75c-.597 0-1.045.107-1.407.284-.362.176-.679.442-.986.816-.54.66-.983 1.558-1.567 2.741-.117.237-.24.485-.37.744l-.34.69c-.581 1.181-1.117 2.27-1.777 3.075-.41.501-.89.923-1.49 1.215-.6.292-1.28.435-2.063.435A5.75 5.75 0 1 1 10.451 7.4a.75.75 0 1 1-.901 1.2A4.228 4.228 0 0 0 7 7.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}><path fillRule="evenodd" clipRule="evenodd" d="M2.75 12a4.25 4.25 0 0 1 6.8-3.4.75.75 0 1 0 .901-1.2A5.75 5.75 0 1 0 7 17.75c.784 0 1.464-.143 2.064-.435.6-.292 1.079-.714 1.489-1.215.66-.804 1.196-1.894 1.776-3.074l.339-.689a.755.755 0 0 0-.339-1.008.745.745 0 0 0-1.003.337l-.366.743c-.584 1.183-1.027 2.082-1.567 2.74-.307.375-.624.64-.986.817-.362.177-.81.284-1.407.284A4.25 4.25 0 0 1 2.75 12Z" fill="currentColor" /><path opacity={0.5} d="M12.67 12.335a.755.755 0 0 0-.34-1.006.746.746 0 0 0-.975.284c.108-.215.213-.429.316-.639.58-1.18 1.117-2.27 1.776-3.074.41-.501.89-.923 1.49-1.215.6-.292 1.28-.435 2.063-.435a5.75 5.75 0 1 1-3.45 10.35.75.75 0 0 1 .9-1.2A4.25 4.25 0 1 0 17 7.75c-.596 0-1.045.107-1.406.284-.363.176-.68.442-.987.816-.54.66-.983 1.558-1.567 2.741-.116.237-.239.485-.369.744h-.001Z" fill="currentColor" /></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default Infinity