import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const FlashlightOn = (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="M15 22v-4.343c0-.818 0-1.226.152-1.594.153-.367.442-.656 1.02-1.235l3.242-3.242c.29-.29.434-.434.51-.617.076-.184.076-.389.076-.797V10c0-.943 0-1.414-.293-1.707C19.414 8 18.943 8 18 8h-1M9 22v-4.343c0-.818 0-1.226-.152-1.594-.152-.367-.442-.656-1.02-1.235l-3.242-3.242c-.29-.29-.434-.434-.51-.617C4 10.785 4 10.58 4 10.171V10c0-.943 0-1.414.293-1.707C4.586 8 5.057 8 6 8h7M15 16H9M4.5 11h15M12 5V2M8 5 6 3M16 5l2-2M12 19v2" 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 22v-4.343c0-.818 0-1.226-.152-1.594-.152-.367-.442-.656-1.02-1.235l-3.242-3.242c-.29-.29-.434-.434-.51-.617C4 10.785 4 10.58 4 10.171V10c0-.943 0-1.414.293-1.707C4.586 8 5.057 8 6 8h12c.943 0 1.414 0 1.707.293C20 8.586 20 9.057 20 10v.172c0 .408 0 .613-.076.796-.076.184-.22.329-.51.618l-3.242 3.242c-.579.579-.867.867-1.02 1.235-.152.368-.152.776-.152 1.594V22M15 16H9" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path opacity={0.5} d="M4.5 11h15M12 5V2" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="M8 5 6 3M16 5l2-2" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path opacity={0.5} d="M12 19v2" 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="M15 22v-4.343c0-.818 0-1.226.152-1.594.153-.367.442-.656 1.02-1.235l3.242-3.242c.29-.29.434-.434.51-.617.076-.184.076-.389.076-.797V10c0-.943 0-1.414-.293-1.707C19.414 8 18.943 8 18 8H6c-.943 0-1.414 0-1.707.293C4 8.586 4 9.057 4 10v.172c0 .408 0 .613.076.796.076.184.22.329.51.618l3.242 3.242c.578.579.868.867 1.02 1.235.152.368.152.776.152 1.594V22M15 16H9M4.5 11h15M12 5V2M8 5 6 3M16 5l2-2M12 19v2" 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 d="M12 1.25a.75.75 0 0 1 .75.75v3a.75.75 0 0 1-1.5 0V2a.75.75 0 0 1 .75-.75Z" fill="currentColor" /><path fillRule="evenodd" clipRule="evenodd" d="M5.955 7.25h12.09c.432 0 .83 0 1.152.043.355.048.731.16 1.04.47.31.309.422.684.47 1.04.043.323.043.72.043 1.152v.297c0 .325.002.677-.133 1.003-.136.327-.385.575-.616.805l-.057.056-3.242 3.243c-.622.621-.775.793-.857.991-.082.198-.095.428-.095 1.307V22a.75.75 0 0 1-1.5 0v-4.464c0-.284 0-.544.013-.786H9.736c.014.242.014.502.014.786V22a.75.75 0 0 1-1.5 0v-4.343c0-.879-.013-1.11-.095-1.307-.082-.198-.236-.37-.857-.991l-3.243-3.243L4 12.06c-.231-.23-.48-.478-.616-.805-.135-.326-.134-.678-.133-1.003v-.297c0-.433 0-.83.043-1.152.048-.356.16-.731.47-1.04.308-.31.684-.422 1.04-.47.322-.043.72-.043 1.152-.043Zm9.6 7.133c-.311.312-.582.582-.793.867H9.237c-.21-.285-.481-.555-.793-.867L5.81 11.75h12.38l-2.635 2.633Zm3.695-4.133V10c0-.493-.002-.787-.03-.997a.711.711 0 0 0-.037-.167l-.003-.006-.002-.004-.001-.003-.003-.001-.004-.002-.006-.003a.707.707 0 0 0-.167-.037c-.21-.028-.505-.03-.997-.03H6c-.493 0-.787.002-.998.03a.706.706 0 0 0-.176.042l-.003.001-.001.003a.706.706 0 0 0-.042.177c-.029.21-.03.504-.03.997v.25h14.5Z" fill="currentColor" /><path d="M6.53 2.47a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.06-1.06l-2-2ZM18.53 2.47a.75.75 0 0 0-1.06 0l-2 2a.75.75 0 0 0 1.06 1.06l2-2a.75.75 0 0 0 0-1.06ZM12.75 19a.75.75 0 0 0-1.5 0v2a.75.75 0 0 0 1.5 0v-2Z" 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="M12.75 2a.75.75 0 0 0-1.5 0v3a.75.75 0 0 0 1.5 0V2ZM6.53 2.47a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.06-1.06l-2-2ZM18.53 2.47a.75.75 0 0 0-1.06 0l-2 2a.75.75 0 0 0 1.06 1.06l2-2a.75.75 0 0 0 0-1.06ZM20 10v.25H4V10c0-.943 0-1.414.293-1.707C4.586 8 5.057 8 6 8h12c.943 0 1.414 0 1.707.293C20 8.586 20 9.057 20 10ZM16.172 14.828c-.163.163-.302.302-.422.427v-.005h-7.5v.005c-.12-.125-.26-.264-.421-.427L4.75 11.75h14.5l-3.078 3.078Z" fill="currentColor" /><path fillRule="evenodd" clipRule="evenodd" d="M9 20v-2.343c0-.378 0-.668-.015-.907h6.03c-.015.24-.015.53-.015.907V20c0 .943 0 1.414-.293 1.707C14.414 22 13.943 22 13 22h-2c-.943 0-1.414 0-1.707-.293C9 21.414 9 20.943 9 20Zm3-1.75a.75.75 0 0 1 .75.75v1a.75.75 0 0 1-1.5 0v-1a.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 opacity={0.5} d="M9 19v-1.343c0-.818 0-1.226-.152-1.594A1.48 1.48 0 0 0 8.82 16h6.36c-.01.02-.019.042-.027.063-.153.368-.153.776-.153 1.594V20c0 .943 0 1.414-.293 1.707C14.415 22 13.944 22 13 22h-2c-.942 0-1.414 0-1.707-.293C9 21.414 9 20.943 9 20v-1Z" fill="currentColor" /><path fillRule="evenodd" clipRule="evenodd" d="M12 18.25a.75.75 0 0 1 .75.75v1a.75.75 0 0 1-1.5 0v-1a.75.75 0 0 1 .75-.75Z" fill="currentColor" /><path opacity={0.5} d="M20 10.172V10c0-.943 0-1.414-.293-1.707C19.414 8 18.943 8 18 8H6c-.943 0-1.414 0-1.707.293C4 8.586 4 9.057 4 10v.172c0 .408 0 .613.076.796L4.09 11h15.82l.014-.031c.076-.184.076-.389.076-.797Z" fill="currentColor" /><path d="m16.171 14.828 3.243-3.242c.272-.273.416-.417.496-.586H4.09c.08.17.223.313.496.586l3.242 3.242c.545.545.833.833.992 1.172h6.36c.159-.339.447-.627.991-1.172ZM12.75 2a.75.75 0 0 0-1.5 0v3a.75.75 0 0 0 1.5 0V2ZM6.53 2.47a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.06-1.06l-2-2ZM18.53 2.47a.75.75 0 0 0-1.06 0l-2 2a.75.75 0 0 0 1.06 1.06l2-2a.75.75 0 0 0 0-1.06Z" fill="currentColor" /></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default FlashlightOn