import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const Closet = (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="M19 22v-.5M5 22v-.5M12 21v-7m0-12v8M15 8v2M22 11v2c0 3.771 0 5.657-1.172 6.828C19.657 21 17.771 21 14 21h-4c-3.771 0-5.657 0-6.828-1.172C2 18.657 2 16.771 2 13v-3c0-3.771 0-5.657 1.172-6.828C4.343 2 6.229 2 10 2h4c3.771 0 5.657 0 6.828 1.172.809.808 1.06 1.956 1.137 3.828M2 8h10M2 15h20M15 18h2M7 18h2" 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="M19 22v-.5M5 22v-.5" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="M12 21V2" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path opacity={0.5} d="M15 8v2" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="M2 10c0-3.771 0-5.657 1.172-6.828C4.343 2 6.229 2 10 2h4c3.771 0 5.657 0 6.828 1.172C22 4.343 22 6.229 22 10v3c0 3.771 0 5.657-1.172 6.828C19.657 21 17.771 21 14 21h-4c-3.771 0-5.657 0-6.828-1.172C2 18.657 2 16.771 2 13v-3Z" stroke="currentColor" strokeWidth={1.5} /><path opacity={0.5} d="M2 8h10" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="M2 15h20" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path opacity={0.5} d="M15 18h2M7 18h2" 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="M19 22v-.5M5 22v-.5M12 21V2M15 8v2" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="M2 10c0-3.771 0-5.657 1.172-6.828C4.343 2 6.229 2 10 2h4c3.771 0 5.657 0 6.828 1.172C22 4.343 22 6.229 22 10v3c0 3.771 0 5.657-1.172 6.828C19.657 21 17.771 21 14 21h-4c-3.771 0-5.657 0-6.828-1.172C2 18.657 2 16.771 2 13v-3Z" stroke="currentColor" strokeWidth={1.5} /><path d="M2 8h10M2 15h20M15 18h2M7 18h2" 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="M9.944 1.25h4.112c1.838 0 3.294 0 4.433.153 1.172.158 2.121.49 2.87 1.238.748.749 1.08 1.698 1.238 2.87.153 1.14.153 2.595.153 4.433v3.112c0 .662 0 1.274-.007 1.84a.759.759 0 0 1-.003.23c-.016.907-.053 1.69-.143 2.363-.158 1.172-.49 2.121-1.238 2.87-.464.464-1.005.768-1.629.97.013.054.02.112.02.171v.5a.75.75 0 0 1-1.5 0v-.374c-1.102.124-2.482.124-4.194.124H9.944c-1.712 0-3.092 0-4.194-.124V22a.75.75 0 0 1-1.5 0v-.5c0-.06.007-.117.02-.172-.624-.201-1.165-.505-1.629-.97-.748-.748-1.08-1.697-1.238-2.869-.09-.673-.127-1.456-.143-2.363a.755.755 0 0 1-.003-.23c-.007-.566-.007-1.178-.007-1.84V9.944c0-.662 0-1.274.007-1.84a.756.756 0 0 1 .003-.23c.016-.907.053-1.69.143-2.363.158-1.172.49-2.121 1.238-2.87.749-.748 1.698-1.08 2.87-1.238 1.14-.153 2.595-.153 4.433-.153Zm-7.192 7.5c-.002.388-.002.804-.002 1.25v3c0 .446 0 .862.002 1.25h8.498v-5.5H2.752Zm8.498-1.5H2.776c.02-.587.054-1.094.114-1.54.135-1.005.389-1.585.812-2.008.423-.423 1.003-.677 2.009-.812 1.028-.138 2.382-.14 4.289-.14h1.25v4.5Zm1.5 7h8.498c.002-.388.002-.804.002-1.25v-3c0-1.907-.002-3.261-.14-4.29-.135-1.005-.389-1.585-.812-2.008-.423-.423-1.003-.677-2.009-.812-1.027-.138-2.382-.14-4.289-.14h-1.25v11.5Zm8.474 1.5H12.75v4.5H14c1.907 0 3.262-.002 4.29-.14 1.005-.135 1.585-.389 2.008-.812.423-.423.677-1.003.812-2.009.06-.445.094-.952.114-1.539Zm-9.974 4.5v-4.5H2.776c.02.587.054 1.094.114 1.54.135 1.005.389 1.585.812 2.008.423.423 1.003.677 2.009.812 1.028.138 2.382.14 4.289.14h1.25Zm3.75-13a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0V8a.75.75 0 0 1 .75-.75ZM6.25 18a.75.75 0 0 1 .75-.75h2a.75.75 0 0 1 0 1.5H7a.75.75 0 0 1-.75-.75Zm8 0a.75.75 0 0 1 .75-.75h2a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1-.75-.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 d="M11.25 2H10C6.229 2 4.343 2 3.172 3.172c-.844.843-1.08 2.057-1.146 4.078h9.224V2ZM2.002 8.75C2 9.142 2 9.558 2 10v3c0 .442 0 .858.002 1.25h9.248v-5.5H2.002Z" fill="currentColor" /><path fillRule="evenodd" clipRule="evenodd" d="M3.172 19.828c-.844-.843-1.08-2.057-1.146-4.078h9.224V21H10c-1.806 0-3.18 0-4.25-.129V22a.75.75 0 0 1-1.5 0v-1.475a3.1 3.1 0 0 1-1.078-.697ZM6.25 18a.75.75 0 0 1 .75-.75h2a.75.75 0 0 1 0 1.5H7a.75.75 0 0 1-.75-.75ZM12.75 21H14c1.806 0 3.18 0 4.25-.129V22a.75.75 0 0 0 1.5 0v-1.475a3.1 3.1 0 0 0 1.078-.697c.844-.843 1.08-2.057 1.146-4.078H12.75V21ZM15 17.25a.75.75 0 0 0 0 1.5h2a.75.75 0 0 0 0-1.5h-2ZM22 13c0 .442 0 .858-.002 1.25H12.75V2H14c3.771 0 5.657 0 6.828 1.172C22 4.343 22 6.229 22 10v3Zm-7-5.75a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0V8a.75.75 0 0 1 .75-.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.025 15.75c.067 2.021.303 3.235 1.146 4.078a3.1 3.1 0 0 0 1.079.697V22a.75.75 0 0 0 1.5 0v-1.129C6.82 21 8.193 21 10 21h4c1.806 0 3.18 0 4.25-.129V22a.75.75 0 0 0 1.5 0v-1.475a3.1 3.1 0 0 0 1.078-.697c.808-.808 1.059-1.956 1.137-3.828l.009-.25c.002-.392.026-2.308.026-2.75v-3c0-3.771 0-5.657-1.172-6.828C19.657 2 17.771 2 14 2h-1.25v13.75H2.025ZM6.25 18a.75.75 0 0 1 .75-.75h2a.75.75 0 0 1 0 1.5H7a.75.75 0 0 1-.75-.75Zm8.75-.75a.75.75 0 0 0 0 1.5h2a.75.75 0 0 0 0-1.5h-2Zm0-10a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0V8a.75.75 0 0 1 .75-.75Z" fill="currentColor" /><g opacity={0.5} fill="currentColor"><path d="M10 2h1.25v5.25H2.026c.066-2.021.302-3.235 1.146-4.078C4.343 2 6.229 2 10 2ZM2.002 8.75C2 9.142 2 9.558 2 10v3c0 .442.024 2.358.025 2.75h9.225v-7H2.002Z" /></g></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default Closet