import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const RulerAngular = (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 9h-1c-.943 0-1.414 0-1.707.293C9 9.586 9 10.057 9 11v7.5c0 1.404 0 2.107-.337 2.611a2 2 0 0 1-.552.552C7.607 22 6.904 22 5.5 22c-1.404 0-2.107 0-2.611-.337a2 2 0 0 1-.552-.552C2 20.607 2 19.904 2 18.5V6c0-1.886 0-2.828.586-3.414C3.172 2 4.114 2 6 2h12.5c1.404 0 2.107 0 2.611.337a2 2 0 0 1 .552.552C22 3.393 22 4.096 22 5.5c0 1.404 0 2.107-.337 2.611a2 2 0 0 1-.552.552C20.607 9 19.904 9 18.5 9H16M12 2v2m6-2v2M9 2v3m6-3v3M2 12h2m-2 6h2m-2-3h3M2 9h3" 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 6v12.5c0 1.404 0 2.107.337 2.611a2 2 0 0 0 .552.552C3.393 22 4.096 22 5.5 22c1.404 0 2.107 0 2.611-.337a2 2 0 0 0 .552-.552C9 20.607 9 19.904 9 18.5V11c0-.943 0-1.414.293-1.707C9.586 9 10.057 9 11 9h7.5c1.404 0 2.107 0 2.611-.337a2 2 0 0 0 .552-.552C22 7.607 22 6.904 22 5.5c0-1.404 0-2.107-.337-2.611a2 2 0 0 0-.552-.552C20.607 2 19.904 2 18.5 2H6c-1.886 0-2.828 0-3.414.586C2 3.172 2 4.114 2 6Z" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path opacity={0.5} d="M12 2v2m6-2v2M9 2v3m6-3v3M2 12h2m-2 6h2m-2-3h3M2 9h3" 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="M2 6v12.5c0 1.404 0 2.107.337 2.611a2 2 0 0 0 .552.552C3.393 22 4.096 22 5.5 22c1.404 0 2.107 0 2.611-.337a2 2 0 0 0 .552-.552C9 20.607 9 19.904 9 18.5V11c0-.943 0-1.414.293-1.707C9.586 9 10.057 9 11 9h7.5c1.404 0 2.107 0 2.611-.337a2 2 0 0 0 .552-.552C22 7.607 22 6.904 22 5.5c0-1.404 0-2.107-.337-2.611a2 2 0 0 0-.552-.552C20.607 2 19.904 2 18.5 2H6c-1.886 0-2.828 0-3.414.586C2 3.172 2 4.114 2 6ZM12 2v2m6-2v2M9 2v3m6-3v3M2 12h2m-2 6h2m-2-3h3M2 9h3" 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="M5.948 1.25h12.59c.67 0 1.229 0 1.681.046.473.048.913.153 1.309.417.3.201.558.459.759.76.264.395.369.835.417 1.308.046.452.046 1.011.046 1.68v.077c0 .67 0 1.229-.046 1.681-.048.473-.153.913-.418 1.309-.2.3-.458.558-.758.759-.396.264-.835.369-1.309.417-.452.046-1.011.046-1.68.046H11c-.493 0-.787.002-.997.03a.706.706 0 0 0-.177.042l-.003.001-.001.003a.706.706 0 0 0-.042.177c-.028.21-.03.504-.03.997v7.538c0 .67 0 1.229-.046 1.681-.048.473-.153.913-.417 1.309-.201.3-.459.558-.76.759-.395.264-.835.369-1.308.417-.452.046-1.011.046-1.68.046h-.077c-.67 0-1.229 0-1.681-.046-.473-.048-.913-.153-1.309-.418-.3-.2-.558-.458-.759-.758-.264-.396-.369-.835-.417-1.309-.046-.452-.046-1.011-.046-1.68V5.947c0-.898 0-1.648.08-2.242.084-.628.27-1.195.725-1.65.456-.456 1.023-.642 1.65-.726.595-.08 1.345-.08 2.243-.08ZM2.75 9.75H5a.75.75 0 1 0 0-1.5H2.75V6c0-.964.002-1.612.067-2.095.062-.461.169-.659.3-.789.13-.13.327-.237.788-.3C4.388 2.753 5.036 2.75 6 2.75h2.25V5a.75.75 0 1 0 1.5 0V2.75h1.5V4a.75.75 0 0 0 1.5 0V2.75h1.5V5a.75.75 0 0 0 1.5 0V2.75h1.5V4a.75.75 0 0 0 1.5 0V2.75c.583 0 .994.005 1.317.038.355.036.519.1.628.173.136.09.253.208.344.345.073.108.137.272.173.627.037.367.038.85.038 1.567 0 .718 0 1.2-.038 1.567-.036.355-.1.519-.173.627a1.25 1.25 0 0 1-.345.345c-.108.073-.272.137-.627.173-.367.037-.85.038-1.567.038h-7.545c-.433 0-.83 0-1.152.043-.356.048-.731.16-1.04.47-.31.309-.422.684-.47 1.04-.043.323-.043.72-.043 1.152V18.5c0 .718 0 1.2-.038 1.567-.036.355-.1.519-.173.628a1.25 1.25 0 0 1-.345.344c-.108.073-.272.137-.627.173-.367.037-.85.038-1.567.038-.718 0-1.2 0-1.567-.038-.355-.036-.519-.1-.627-.173a1.25 1.25 0 0 1-.345-.345c-.073-.108-.137-.272-.173-.627-.033-.323-.037-.734-.038-1.317H4a.75.75 0 0 0 0-1.5H2.75v-1.5H5a.75.75 0 0 0 0-1.5H2.75v-1.5H4a.75.75 0 0 0 0-1.5H2.75v-1.5Z" 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="M8.25 2H6c-1.886 0-2.828 0-3.414.586C2 3.172 2 4.114 2 6v2.25h3a.75.75 0 0 1 0 1.5H2v1.5h2a.75.75 0 0 1 0 1.5H2v1.5h3a.75.75 0 0 1 0 1.5H2v1.5h2a.75.75 0 0 1 0 1.5H2c.001 1.24.02 1.888.337 2.361a2 2 0 0 0 .552.552C3.393 22 4.096 22 5.5 22c1.404 0 2.107 0 2.611-.337a2 2 0 0 0 .552-.552C9 20.607 9 19.904 9 18.5V11c0-.943 0-1.414.293-1.707C9.586 9 10.057 9 11 9h7.5c1.404 0 2.107 0 2.611-.337a2 2 0 0 0 .552-.552C22 7.607 22 6.904 22 5.5c0-1.404 0-2.107-.337-2.611a2 2 0 0 0-.552-.552c-.473-.316-1.121-.336-2.361-.337v2a.75.75 0 0 1-1.5 0V2h-1.5v3a.75.75 0 0 1-1.5 0V2h-1.5v2a.75.75 0 0 1-1.5 0V2h-1.5v3a.75.75 0 0 1-1.5 0V2Z" 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="M6 2h12.75c1.24.001 1.888.02 2.361.337a2 2 0 0 1 .552.552C22 3.393 22 4.096 22 5.5c0 1.404 0 2.107-.337 2.611a2 2 0 0 1-.552.552C20.607 9 19.904 9 18.5 9H11c-.943 0-1.414 0-1.707.293C9 9.586 9 10.057 9 11v7.5c0 1.404 0 2.107-.337 2.611a2 2 0 0 1-.552.552C7.607 22 6.904 22 5.5 22c-1.404 0-2.107 0-2.611-.337a2 2 0 0 1-.552-.552c-.316-.473-.336-1.121-.337-2.361V6c0-1.886 0-2.828.586-3.414C3.172 2 4.114 2 6 2Z" fill="currentColor" /><path d="M4 17.25H2v1.5h2a.75.75 0 0 0 0-1.5ZM5 14.25H2v1.5h3a.75.75 0 0 0 0-1.5ZM4 11.25H2v1.5h2a.75.75 0 0 0 0-1.5ZM5 8.25H2v1.5h3a.75.75 0 0 0 0-1.5ZM9.75 5V2h-1.5v3a.75.75 0 0 0 1.5 0ZM12.75 4V2h-1.5v2a.75.75 0 0 0 1.5 0ZM15.75 5V2h-1.5v3a.75.75 0 0 0 1.5 0ZM18.75 4V2h-1.5v2a.75.75 0 0 0 1.5 0Z" fill="currentColor" /></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default RulerAngular