import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const Lamp = (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 22h6M12 22v-7M12 2c2.423 0 3.635 0 4.582.566a4 4 0 0 1 .757.585c.786.775 1.09 1.948 1.7 4.294l.084.324c.828 3.189 1.241 4.783.49 5.903a2.985 2.985 0 0 1-.247.319C18.47 15 16.824 15 13.529 15h-3.058c-3.295 0-4.942 0-5.837-1.01-.09-.1-.172-.206-.247-.318-.751-1.12-.337-2.714.49-5.903l.085-.324c.608-2.346.913-3.519 1.699-4.294a4 4 0 0 1 .757-.585c.182-.109.374-.197.582-.268M17.5 15v2" 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 22h6" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path opacity={0.5} d="M12 22v-7" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="M4.961 7.445c.61-2.346.914-3.519 1.7-4.294a4 4 0 0 1 .757-.585C8.365 2 9.577 2 12 2s3.635 0 4.582.566a4 4 0 0 1 .757.585c.786.775 1.09 1.948 1.7 4.294l.084.324c.827 3.189 1.241 4.783.49 5.903a2.998 2.998 0 0 1-.247.319C18.47 15 16.823 15 13.529 15h-3.058c-3.295 0-4.942 0-5.837-1.01-.09-.1-.172-.206-.247-.318-.752-1.12-.338-2.714.49-5.903l.084-.324Z" stroke="currentColor" strokeWidth={1.5} /><path opacity={0.5} d="M17.5 15v2" 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 22h6M12 22v-7" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="M4.962 7.445c.609-2.346.913-3.519 1.7-4.294a4 4 0 0 1 .756-.585C8.365 2 9.577 2 12 2s3.635 0 4.582.566a4 4 0 0 1 .757.585c.786.775 1.09 1.948 1.7 4.294l.084.324c.828 3.189 1.242 4.783.49 5.903a2.998 2.998 0 0 1-.247.319C18.471 15 16.824 15 13.53 15h-3.058c-3.294 0-4.942 0-5.837-1.01-.09-.1-.171-.206-.246-.318-.752-1.12-.338-2.714.49-5.903l.084-.324Z" stroke="currentColor" strokeWidth={1.5} /><path d="M17.5 15v2" 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.961 1.25h.078c1.179 0 2.118 0 2.879.074.783.077 1.444.237 2.05.598.325.195.627.429.898.695.501.495.822 1.095 1.093 1.834.264.718.5 1.627.796 2.767l.108.418c.402 1.547.723 2.783.842 3.77.122 1.015.051 1.908-.47 2.684a3.74 3.74 0 0 1-.308.399c-.448.505-1.015.798-1.677.973V17a.75.75 0 0 1-1.5 0v-1.313c-.869.063-1.919.063-3.163.063h-.837v5.5H15a.75.75 0 0 1 0 1.5H9a.75.75 0 0 1 0-1.5h2.25v-5.5h-.836c-1.599 0-2.876 0-3.861-.133-1.013-.137-1.86-.43-2.48-1.128a3.745 3.745 0 0 1-.308-.4c-.521-.775-.592-1.668-.47-2.683.12-.987.44-2.223.842-3.77l.108-.417c.297-1.141.533-2.05.796-2.768.27-.74.592-1.34 1.094-1.834.27-.266.572-.5.898-.695.605-.36 1.266-.521 2.05-.598.76-.074 1.7-.074 2.878-.074Zm1.568 13c1.67 0 2.845-.002 3.718-.12.858-.115 1.283-.327 1.558-.637.067-.075.129-.155.185-.239.23-.344.33-.809.226-1.668-.106-.875-.4-2.013-.82-3.629l-.083-.324c-.308-1.187-.527-2.025-.762-2.666-.23-.627-.454-1.001-.738-1.281a3.252 3.252 0 0 0-.615-.476c-.343-.205-.761-.328-1.426-.393-.68-.066-1.546-.067-2.772-.067-1.226 0-2.092 0-2.771.067-.665.065-1.084.188-1.427.393a3.25 3.25 0 0 0-.614.476c-.285.28-.509.654-.739 1.281-.235.641-.453 1.48-.761 2.666l-.085.324c-.42 1.616-.713 2.754-.818 3.629-.104.86-.006 1.324.225 1.668.056.084.118.164.185.24.275.31.7.52 1.558.637.874.117 2.049.119 3.718.119h3.058Z" 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="M6.667 3.151c-.786.775-1.09 1.948-1.699 4.294l-.084.324c-.828 3.189-1.242 4.783-.49 5.903.075.112.157.218.247.319C5.536 15 7.183 15 10.477 15h.779v6.25h-2.25a.75.75 0 0 0 0 1.5h6a.75.75 0 0 0 0-1.5h-2.25V15h.78c1.32 0 2.374 0 3.223-.065a.771.771 0 0 0-.003.065v2a.75.75 0 1 0 1.5 0v-2.318c.468-.15.83-.369 1.116-.691.09-.1.172-.207.247-.32.752-1.12.338-2.713-.49-5.902l-.084-.324c-.609-2.346-.913-3.519-1.7-4.294a4 4 0 0 0-.756-.585C15.64 2 14.429 2 12.007 2c-2.424 0-3.635 0-4.583.566a4 4 0 0 0-.757.585Z" 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="M4.968 7.445c.609-2.346.913-3.519 1.7-4.294a4 4 0 0 1 .756-.585C8.372 2 9.584 2 12.007 2s3.634 0 4.582.566a4 4 0 0 1 .757.585c.786.775 1.09 1.948 1.699 4.294l.084.324c.828 3.189 1.242 4.783.49 5.903a2.998 2.998 0 0 1-.247.319c-.285.322-.648.541-1.116.69-.596.146-1.246.23-1.497.254-.849.065-1.904.065-3.223.065h-3.059c-3.294 0-4.941 0-5.836-1.01-.09-.1-.172-.206-.247-.318-.752-1.12-.338-2.714.49-5.903l.084-.324Z" fill="currentColor" /><path opacity={0.5} d="M16.759 14.935a.773.773 0 0 0-.003.065v2a.75.75 0 1 0 1.5 0v-2.318c-.596.145-1.246.23-1.497.253Z" fill="currentColor" /><path opacity={0.5} fillRule="evenodd" clipRule="evenodd" d="M11.256 21.25V15h1.5v6.25h-1.5Z" fill="currentColor" /><path d="M11.256 21.25h-2.25a.75.75 0 0 0 0 1.5h6a.75.75 0 0 0 0-1.5h-3.75Z" fill="currentColor" /></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default Lamp