import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const Bug = (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="M14 21.71A7 7 0 0 1 5 15v-3.063A3.938 3.938 0 0 1 8.938 8h6.124A3.938 3.938 0 0 1 19 11.938V15a6.977 6.977 0 0 1-2 4.899" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="M8.25 7.5a.75.75 0 0 0-1.5 0h1.5Zm-.615-2.917a.75.75 0 1 0 1.246.834l-1.246-.834ZM17.25 8.5v-1h-1.5v1h1.5Zm-10.5-1v1h1.5v-1h-1.5Zm10.5 0c0-2.9-2.35-5.25-5.25-5.25v1.5a3.75 3.75 0 0 1 3.75 3.75h1.5ZM12 2.25a5.246 5.246 0 0 0-4.365 2.333l1.246.834A3.746 3.746 0 0 1 12 3.75v-1.5Z" fill="currentColor" /><path d="M19 14h3M5 14H2M14.5 3.5 17 2M9.5 3.5 7 2M20.5 20l-2-.8M20.5 8l-2 .8M3.5 20l2-.8M3.5 8l2 .8M12 21.5V15" 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="M19 15v-3.063A3.938 3.938 0 0 0 15.062 8H8.939A3.938 3.938 0 0 0 5 11.938V15a7 7 0 1 0 14 0Z" stroke="currentColor" strokeWidth={1.5} /><path d="M16.5 8.5v-1a4.5 4.5 0 1 0-9 0v1" stroke="currentColor" strokeWidth={1.5} /><path opacity={0.5} d="M19 14h3M5 14H2M14.5 3.5 17 2M9.5 3.5 7 2M20.5 20l-2-.8M20.5 8l-2 .8M3.5 20l2-.8M3.5 8l2 .8M12 21.5V15" 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 15v-3.063A3.938 3.938 0 0 0 15.062 8H8.939A3.938 3.938 0 0 0 5 11.938V15a7 7 0 1 0 14 0Z" stroke="currentColor" strokeWidth={1.5} /><path d="M16.5 8.5v-1a4.5 4.5 0 1 0-9 0v1" stroke="currentColor" strokeWidth={1.5} /><path d="M19 14h3M5 14H2M14.5 3.5 17 2M9.5 3.5 7 2M20.5 20l-2-.8M20.5 8l-2 .8M3.5 20l2-.8M3.5 8l2 .8M12 21.5V15" 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="M17.386 2.643a.75.75 0 1 0-.772-1.286L14.27 2.764A5.23 5.23 0 0 0 12 2.25a5.23 5.23 0 0 0-2.269.514L7.386 1.357a.75.75 0 0 0-.772 1.286l1.763 1.058A5.235 5.235 0 0 0 6.75 7.5v.29c-.257.135-.5.294-.725.473a.748.748 0 0 0-.246-.16l-2-.8a.75.75 0 0 0-.558 1.392l1.772.709c-.47.73-.743 1.6-.743 2.533v1.312H2a.75.75 0 0 0 0 1.5h2.25V15c0 1.28.31 2.486.859 3.55l-1.888.754a.75.75 0 1 0 .558 1.393l2-.8a.75.75 0 0 0 .149-.08A7.736 7.736 0 0 0 12 22.75a7.736 7.736 0 0 0 6.072-2.934.748.748 0 0 0 .15.08l2 .8a.75.75 0 0 0 .556-1.392l-1.886-.755A7.717 7.717 0 0 0 19.75 15v-.25H22a.75.75 0 0 0 0-1.5h-2.25v-1.312c0-.934-.273-1.803-.743-2.533l1.771-.709a.75.75 0 0 0-.556-1.392l-2 .8a.748.748 0 0 0-.247.16 4.692 4.692 0 0 0-.725-.473V7.5a5.235 5.235 0 0 0-1.627-3.8l1.763-1.058ZM5.75 15v-3.062A3.187 3.187 0 0 1 8.938 8.75h6.124a3.188 3.188 0 0 1 3.188 3.188V15a6.251 6.251 0 0 1-5.5 6.206V15a.75.75 0 0 0-1.5 0v6.206A6.251 6.251 0 0 1 5.75 15ZM12 3.75a3.75 3.75 0 0 1 3.745 3.55 4.727 4.727 0 0 0-.682-.05H8.936c-.231 0-.459.017-.682.05A3.75 3.75 0 0 1 12 3.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="M17.416 2.624a.75.75 0 1 0-.832-1.248L13.669 3.32A4.488 4.488 0 0 0 12 3c-.59 0-1.153.113-1.669.32L7.416 1.376a.75.75 0 0 0-.832 1.248l2.36 1.573a4.493 4.493 0 0 0-1.368 2.475A5.447 5.447 0 0 1 8.938 6.5h6.125c.47 0 .926.06 1.361.172a4.493 4.493 0 0 0-1.368-2.475l2.36-1.573ZM1.25 14a.75.75 0 0 1 .75-.75h3v-1.312c0-.836.26-1.611.704-2.248l-2.483-.994a.75.75 0 0 1 .558-1.392l3.136 1.254A3.92 3.92 0 0 1 8.937 8h6.126c.739 0 1.43.204 2.022.558l3.136-1.254a.75.75 0 1 1 .558 1.392l-2.483.994A3.92 3.92 0 0 1 19 11.938v1.312h3a.75.75 0 0 1 0 1.5h-3V15a6.97 6.97 0 0 1-.808 3.269l2.587 1.035a.75.75 0 0 1-.558 1.393l-2.892-1.158a6.987 6.987 0 0 1-4.579 2.421V15a.75.75 0 1 0-1.5 0v6.96a6.988 6.988 0 0 1-4.579-2.42L3.78 20.696a.75.75 0 1 1-.558-1.393l2.588-1.035A6.97 6.97 0 0 1 5 15v-.25H2a.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} fillRule="evenodd" clipRule="evenodd" d="M19 11.938V15a7.001 7.001 0 0 1-6.25 6.96V15a.75.75 0 0 0-1.5 0v6.96A7.001 7.001 0 0 1 5 15v-3.063A3.939 3.939 0 0 1 8.938 8h6.124A3.939 3.939 0 0 1 19 11.938Z" fill="currentColor" /><path d="M19 14.75v-1.5h3a.75.75 0 0 1 0 1.5h-3ZM17.495 19.336c.311-.393.58-.82.802-1.276l2.538 1.27a.75.75 0 1 1-.67 1.34l-2.67-1.334ZM5.703 18.06c.221.455.49.883.801 1.276l-2.669 1.335a.75.75 0 0 1-.67-1.342l2.538-1.269ZM5 13.25H2a.75.75 0 0 0 0 1.5h3v-1.5ZM17.354 8.735l2.81-1.406a.75.75 0 1 1 .671 1.341L18.42 9.88a3.958 3.958 0 0 0-1.066-1.144ZM6.647 8.735c-.427.306-.79.695-1.067 1.144L3.165 8.67a.75.75 0 0 1 .67-1.341l2.812 1.406ZM16.5 8.27V7.5a4.5 4.5 0 1 0-9 0v.77c.445-.174.93-.27 1.438-.27h6.124c.508 0 .993.096 1.438.27Z" fill="currentColor" /><g opacity={0.5} fill="currentColor"><path d="M6.376 1.584a.75.75 0 0 0 .208 1.04l2.36 1.573a4.502 4.502 0 0 1 1.387-.877L7.416 1.376a.75.75 0 0 0-1.04.208ZM15.056 4.197a4.502 4.502 0 0 0-1.387-.877l2.915-1.944a.75.75 0 1 1 .832 1.248l-2.36 1.573Z" /></g><path fillRule="evenodd" clipRule="evenodd" d="M12 14.25a.75.75 0 0 1 .75.75v7h-1.5v-7a.75.75 0 0 1 .75-.75Z" fill="currentColor" /></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default Bug