import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const Hanger = (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="M9.536 6.91c0-1.055.95-1.91 2.124-1.91 1.173 0 2.124.855 2.124 1.91 0 .495-.18.947-.492 1.287-.597.65-1.49 1.305-1.49 2.149v.284m0 0a3.656 3.656 0 0 1 2.082.61L16 12.668m-4.198-2.037a3.641 3.641 0 0 0-2.051.649L2.655 16.27C1.383 17.165 2.087 19 3.703 19h16.595c1.633 0 2.325-1.869 1.019-2.75L19 14.69" 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="M9.536 6.91c0-1.055.95-1.91 2.124-1.91 1.173 0 2.124.855 2.124 1.91 0 .495-.18.947-.492 1.287-.597.65-1.49 1.305-1.49 2.149v.284m0 0a3.656 3.656 0 0 1 2.082.61l7.433 5.01c1.306.881.613 2.75-1.02 2.75H3.703c-1.616 0-2.32-1.835-1.048-2.73l7.096-4.991a3.641 3.641 0 0 1 2.05-.65Z" 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="M9.536 6.91c0-1.055.95-1.91 2.124-1.91 1.173 0 2.124.855 2.124 1.91 0 .495-.18.947-.492 1.287-.597.65-1.49 1.305-1.49 2.149v.284m0 0a3.656 3.656 0 0 1 2.082.61l7.433 5.01c1.306.881.613 2.75-1.02 2.75H3.703c-1.616 0-2.32-1.835-1.048-2.73l7.096-4.991a3.641 3.641 0 0 1 2.05-.65Z" 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="M11.66 5.75c-.836 0-1.374.592-1.374 1.16a.75.75 0 0 1-1.5 0c0-1.543 1.364-2.66 2.874-2.66s2.874 1.117 2.874 2.66c0 .68-.248 1.314-.69 1.794-.14.153-.294.305-.435.445l-.074.072a7.597 7.597 0 0 0-.441.464 2.382 2.382 0 0 0-.205.274 4.33 4.33 0 0 1 1.614.66l7.433 5.01c.95.64 1.207 1.697.877 2.588-.325.876-1.191 1.533-2.316 1.533H3.702c-1.112 0-1.974-.645-2.306-1.51-.338-.88-.1-1.931.828-2.583l7.095-4.992a4.331 4.331 0 0 1 1.774-.722c.105-.507.393-.918.658-1.23.172-.202.36-.391.529-.558l.08-.08c.143-.14.267-.263.38-.386.182-.198.294-.468.294-.78 0-.567-.538-1.159-1.374-1.159Zm1.805 6.112a2.906 2.906 0 0 0-1.655-.482 2.89 2.89 0 0 0-1.628.512l-7.095 4.991c-.346.243-.391.558-.29.819.105.275.403.548.905.548h16.595c.509 0 .806-.277.91-.555.097-.264.047-.582-.31-.822l-7.432-5.01Z" 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="M11.66 5.75c-.836 0-1.374.592-1.374 1.16a.75.75 0 0 1-1.5 0c0-1.543 1.364-2.66 2.874-2.66s2.874 1.117 2.874 2.66c0 .68-.248 1.314-.69 1.794-.14.153-.294.305-.435.445l-.074.072a7.597 7.597 0 0 0-.441.464 2.382 2.382 0 0 0-.205.274 4.33 4.33 0 0 1 1.614.66l7.433 5.01c.95.64 1.207 1.697.877 2.588-.325.876-1.191 1.533-2.316 1.533H3.702c-1.112 0-1.974-.645-2.306-1.51-.338-.88-.1-1.931.828-2.583l7.095-4.992a4.331 4.331 0 0 1 1.774-.722c.105-.507.393-.918.658-1.23.172-.202.36-.391.529-.558l.08-.08c.143-.14.267-.263.38-.386.182-.198.294-.468.294-.78 0-.567-.538-1.159-1.374-1.159Zm1.805 6.112a2.906 2.906 0 0 0-1.655-.482 2.89 2.89 0 0 0-1.628.512l-7.095 4.991c-.346.243-.391.558-.29.819.105.275.403.548.905.548h16.595c.509 0 .806-.277.91-.555.097-.264.047-.582-.31-.822l-7.432-5.01Z" 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="M11.793 9.88c.873-.01 1.759.232 2.51.739l7.433 5.01c.95.64 1.207 1.697.877 2.588-.325.876-1.191 1.533-2.316 1.533H3.702c-1.112 0-1.974-.645-2.306-1.51-.338-.88-.1-1.931.828-2.583l7.095-4.992a4.391 4.391 0 0 1 2.473-.785Zm1.672 1.983a2.906 2.906 0 0 0-1.655-.483 2.891 2.891 0 0 0-1.628.512l-7.095 4.992c-.346.242-.391.557-.29.818.105.276.403.548.905.548h16.595c.509 0 .806-.277.91-.555.097-.263.047-.582-.31-.822l-7.432-5.01Z" fill="currentColor" /><path opacity={0.5} d="M10.285 6.91c0-.568.538-1.16 1.374-1.16.836 0 1.374.592 1.374 1.16 0 .311-.111.581-.293.78-.113.122-.238.245-.38.385l-.08.08a8.953 8.953 0 0 0-.53.558c-.265.312-.552.724-.658 1.23a4.527 4.527 0 0 1 1.596.016c.051-.08.118-.172.205-.274.127-.149.274-.298.441-.464l.074-.072c.141-.14.296-.292.436-.445.442-.48.69-1.115.69-1.795 0-1.542-1.365-2.659-2.875-2.659S8.785 5.367 8.785 6.91a.75.75 0 1 0 1.5 0Z" fill="currentColor" /></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default Hanger