import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const Forbidden = (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="m18.5 5.5-13 13M6.606 3.757c.867-.867 1.3-1.3 1.852-1.529C9.01 2 9.623 2 10.848 2h2.303c1.226 0 1.84 0 2.39.228.552.229.986.662 1.853 1.53l2.849 2.848c.867.867 1.3 1.3 1.529 1.852.228.552.228 1.165.228 2.39v2.303c0 1.226 0 1.84-.228 2.39-.229.552-.662.986-1.53 1.853l-2.848 2.849c-.867.867-1.3 1.3-1.852 1.529-.551.228-1.165.228-2.39.228h-2.303c-1.226 0-1.84 0-2.39-.228-.552-.229-.986-.662-1.853-1.53l-2.849-2.848c-.867-.867-1.3-1.3-1.529-1.852C2 14.99 2 14.377 2 13.152v-2.303c0-1.226 0-1.84.228-2.39.229-.552.662-.986 1.53-1.853" 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="m18.5 5.5-13 13" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="M22 10.849v2.302c0 1.226 0 1.84-.228 2.39-.229.552-.662.986-1.53 1.853l-2.848 2.849c-.867.867-1.3 1.3-1.852 1.529-.551.228-1.165.228-2.39.228h-2.303c-1.226 0-1.84 0-2.39-.228-.552-.229-.986-.662-1.853-1.53l-2.849-2.848c-.867-.867-1.3-1.3-1.529-1.852C2 14.99 2 14.377 2 13.152v-2.303c0-1.226 0-1.84.228-2.39.229-.552.662-.986 1.53-1.853l2.848-2.849c.867-.867 1.3-1.3 1.852-1.529C9.01 2 9.623 2 10.848 2h2.303c1.226 0 1.84 0 2.39.228.552.229.986.662 1.853 1.53l2.849 2.848c.867.867 1.3 1.3 1.529 1.852.228.552.228 1.165.228 2.39Z" 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="m18.5 5.5-13 13" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="M22 10.849v2.302c0 1.226 0 1.84-.228 2.39-.229.552-.662.986-1.53 1.853l-2.848 2.849c-.867.867-1.3 1.3-1.852 1.529-.551.228-1.165.228-2.39.228h-2.303c-1.226 0-1.84 0-2.39-.228-.552-.229-.986-.662-1.853-1.53l-2.849-2.848c-.867-.867-1.3-1.3-1.529-1.852C2 14.99 2 14.377 2 13.152v-2.303c0-1.226 0-1.84.228-2.39.229-.552.662-.986 1.53-1.853l2.848-2.849c.867-.867 1.3-1.3 1.852-1.529C9.01 2 9.623 2 10.848 2h2.303c1.226 0 1.84 0 2.39.228.552.229.986.662 1.853 1.53l2.849 2.848c.867.867 1.3 1.3 1.529 1.852.228.552.228 1.165.228 2.39Z" 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.706 1.25c-1.087 0-1.843 0-2.535.286-.691.286-1.225.82-1.994 1.59l-3.05 3.05c-.77.77-1.305 1.304-1.591 1.995-.287.692-.286 1.448-.286 2.535v2.588c0 1.088 0 1.843.286 2.535.286.691.82 1.226 1.59 1.994l3.05 3.05c.77.77 1.304 1.305 1.995 1.592.692.286 1.448.286 2.535.285h2.588c1.088 0 1.843.001 2.535-.285.691-.287 1.226-.822 1.994-1.591l3.05-3.05c.77-.77 1.305-1.304 1.592-1.995.286-.692.286-1.447.285-2.535v-2.588c0-1.087.001-1.843-.285-2.535-.287-.691-.822-1.225-1.591-1.994l-3.05-3.05c-.77-.77-1.304-1.305-1.995-1.591-.692-.287-1.447-.286-2.535-.286h-2.588Zm-1.96 1.671c.38-.158.816-.17 2.103-.17h2.302c1.288 0 1.722.012 2.104.17.381.158.698.456 1.608 1.367l.895.894L5.182 17.757l-.894-.894c-.91-.91-1.209-1.227-1.367-1.608-.158-.382-.17-.816-.17-2.104V10.85c0-1.287.012-1.722.17-2.104.158-.381.456-.698 1.367-1.608l2.849-2.85c.91-.91 1.227-1.208 1.608-1.366ZM6.241 18.818l.895.894c.91.91 1.227 1.209 1.608 1.367.382.158.817.171 2.104.171h2.302c1.288 0 1.722-.013 2.104-.171.381-.158.698-.456 1.608-1.367l2.85-2.849c.91-.91 1.208-1.227 1.366-1.608.158-.382.171-.816.171-2.104V10.85c0-1.287-.013-1.722-.171-2.104-.158-.381-.456-.698-1.367-1.608l-.894-.894L6.242 18.818Z" 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="M22 13.151V10.85c0-1.226 0-1.84-.228-2.39-.229-.552-.662-.986-1.53-1.853l-.893-.894L5.712 19.348l.894.895c.867.867 1.3 1.3 1.852 1.529.552.228 1.165.228 2.39.228h2.303c1.226 0 1.84 0 2.39-.228.552-.229.986-.662 1.853-1.53l2.849-2.848c.867-.867 1.3-1.3 1.529-1.852.228-.551.228-1.165.228-2.39ZM4.651 18.288l-.894-.894c-.867-.867-1.3-1.3-1.529-1.852C2 14.99 2 14.377 2 13.152v-2.303c0-1.226 0-1.84.228-2.39.229-.552.662-.986 1.53-1.853l2.848-2.849c.867-.867 1.3-1.3 1.852-1.529C9.01 2 9.623 2 10.848 2h2.303c1.226 0 1.84 0 2.39.228.552.229.986.662 1.853 1.53l.894.893L4.65 18.288Z" 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="m3.757 17.394 1.425 1.424 1.424 1.425c.868.867 1.301 1.3 1.852 1.529C9.01 22 9.623 22 10.85 22h2.302c1.226 0 1.84 0 2.391-.228.551-.229.985-.662 1.852-1.53l2.849-2.848c.867-.867 1.3-1.3 1.529-1.852.228-.551.228-1.165.228-2.39v-2.303c0-1.226 0-1.84-.228-2.39-.228-.552-.662-.986-1.53-1.853l-1.424-1.424-1.424-1.425c-.867-.867-1.3-1.3-1.852-1.529C14.99 2 14.377 2 13.152 2h-2.303c-1.226 0-1.84 0-2.39.228-.552.229-.986.662-1.853 1.53L3.757 6.605c-.867.867-1.3 1.3-1.529 1.852C2 9.01 2 9.623 2 10.848v2.303c0 1.226 0 1.84.228 2.39.229.552.662.986 1.53 1.853Z" fill="currentColor" /><path d="M18.818 5.182 5.182 18.818" stroke="currentColor" strokeWidth={1.5} /></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default Forbidden