import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const PresentationGraph = (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="M2 2h20M9 10.5l1.293-1.293c.333-.333.5-.5.707-.5.207 0 .374.167.707.5l.586.586c.333.333.5.5.707.5.207 0 .374-.167.707-.5L15 8.5M12 21v-4M10 22l2-1M14 22l-2-1" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="M4 2v8.5c0 3.064 0 4.596 1.004 5.548s2.62.952 5.853.952h2.286c3.232 0 4.849 0 5.853-.952C20 15.096 20 13.564 20 10.5V10m0-8v4" 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="M2 2h20M9 10.5l1.293-1.293c.333-.333.5-.5.707-.5.207 0 .374.167.707.5l.586.586c.333.333.5.5.707.5.207 0 .374-.167.707-.5L15 8.5" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path opacity={0.5} d="M12 21v-4m0 4-2 1m2-1 2 1" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="M20 2v8.5c0 3.064 0 4.596-1.004 5.548s-2.62.952-5.853.952h-2.286c-3.232 0-4.849 0-5.853-.952C4 15.096 4 13.564 4 10.5V2" 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="M2 2h20M9 10.5l1.293-1.293c.333-.333.5-.5.707-.5.207 0 .374.167.707.5l.586.586c.333.333.5.5.707.5.207 0 .374-.167.707-.5L15 8.5M12 21v-4M10 22l2-1M14 22l-2-1" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="M20 2v8.5c0 3.064 0 4.596-1.004 5.548s-2.62.952-5.853.952h-2.286c-3.232 0-4.849 0-5.853-.952C4 15.096 4 13.564 4 10.5V2" 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="M1.25 2A.75.75 0 0 1 2 1.25h20a.75.75 0 0 1 0 1.5h-1.25v7.808c0 1.483 0 2.676-.133 3.614-.138.975-.434 1.784-1.105 2.42-.666.632-1.503.904-2.512 1.033-.981.125-2.233.125-3.804.125h-.446v2.787l1.585.792a.75.75 0 1 1-.67 1.342L12 21.839l-1.665.832a.75.75 0 1 1-.67-1.342l1.585-.793V17.75h-.446c-1.571 0-2.823 0-3.804-.125-1.01-.129-1.846-.401-2.512-1.033-.671-.636-.967-1.445-1.105-2.42-.133-.938-.133-2.131-.133-3.614V2.75H2A.75.75 0 0 1 1.25 2Zm3.5.75v7.75c0 1.554.002 2.64.118 3.46.113.795.32 1.228.652 1.544.338.32.812.524 1.67.633.875.112 2.03.113 3.667.113h2.286c1.636 0 2.792-.001 3.667-.113.858-.11 1.332-.313 1.67-.633.332-.316.54-.749.652-1.543.116-.82.118-1.907.118-3.461V2.75H4.75Zm10.78 5.22a.75.75 0 0 1 0 1.06l-1.293 1.293-.024.025a4.868 4.868 0 0 1-.452.416 1.24 1.24 0 0 1-.761.279 1.24 1.24 0 0 1-.761-.279 4.868 4.868 0 0 1-.452-.416l-.024-.025-.586-.586L11 9.562l-.177.175L9.53 11.03a.75.75 0 1 1-1.06-1.06l1.293-1.293.024-.025c.145-.145.302-.302.452-.416A1.24 1.24 0 0 1 11 7.957c.334 0 .585.145.761.279.15.114.307.271.452.416l.024.025.586.586.177.175.177-.175L14.47 7.97a.75.75 0 0 1 1.06 0Z" 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="M2 1.25a.75.75 0 0 0 0 1.5h2v7.75c0 3.064 0 4.596 1.004 5.548s2.62.952 5.853.952h.393v3.537l-1.585.792a.75.75 0 1 0 .67 1.342L12 21.839l1.665.832a.75.75 0 1 0 .67-1.342l-1.585-.793V17h.393c3.232 0 4.849 0 5.853-.952C20 15.096 20 13.564 20 10.5V2.75h2a.75.75 0 0 0 0-1.5H2Zm13.53 6.72a.75.75 0 0 1 0 1.06l-1.317 1.318a4.868 4.868 0 0 1-.452.416 1.24 1.24 0 0 1-.761.279 1.24 1.24 0 0 1-.761-.279 4.868 4.868 0 0 1-.452-.416l-.61-.61L11 9.561l-.177.175L9.53 11.03a.75.75 0 1 1-1.06-1.06l1.317-1.318c.145-.145.302-.302.452-.416A1.24 1.24 0 0 1 11 7.957c.334 0 .585.145.761.279.15.114.307.271.452.416l.61.61.177.176.177-.175L14.47 7.97a.75.75 0 0 1 1.06 0Z" 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 opacity={0.5} d="M4 10.5V2.75h16v7.75c0 3.064 0 4.596-1.004 5.548s-2.62.952-5.853.952h-2.286c-3.232 0-4.849 0-5.853-.952C4 15.096 4 13.564 4 10.5Z" fill="currentColor" /><path d="M15.53 9.03a.75.75 0 0 0-1.06-1.06l-1.293 1.293-.177.175-.177-.175-.61-.61a4.853 4.853 0 0 0-.452-.417A1.24 1.24 0 0 0 11 7.957a1.24 1.24 0 0 0-.761.279c-.15.114-.307.271-.452.416L8.47 9.97a.75.75 0 1 0 1.06 1.06l1.293-1.293.177-.175.177.175.61.61c.145.146.302.303.452.417.176.134.427.279.761.279s.585-.145.761-.279c.15-.114.307-.271.452-.416L15.53 9.03ZM2 1.25a.75.75 0 0 0 0 1.5h20a.75.75 0 0 0 0-1.5H2ZM11.25 17v3.537l-1.585.792a.75.75 0 1 0 .67 1.342L12 21.839l1.665.832a.75.75 0 1 0 .67-1.342l-1.585-.793V17h-1.5Z" fill="currentColor" /></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default PresentationGraph