import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const Map = (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="M21 7.162c0-1.043 0-1.565-.283-1.958s-.778-.558-1.768-.888l-1.165-.388c-1.367-.456-2.05-.684-2.739-.591-.688.092-1.288.491-2.487 1.29l-1.382.922c-.936.624-1.404.936-1.93 1.06a3 3 0 0 1-.587.08c-.54.018-1.073-.16-2.14-.516-1.398-.466-2.097-.699-2.629-.462a1.5 1.5 0 0 0-.497.358C3 6.5 3 7.236 3 8.71v4.065M21 11v4.29c0 1.474 0 2.211-.393 2.64a1.5 1.5 0 0 1-.497.36c-.532.236-1.231.003-2.629-.463-1.067-.356-1.6-.534-2.14-.515a3.001 3.001 0 0 0-.588.078c-.525.125-.993.437-1.929 1.06l-1.382.922c-1.2.8-1.799 1.2-2.487 1.291-.688.093-1.372-.135-2.739-.591l-1.165-.388c-.99-.33-1.485-.495-1.768-.888-.268-.372-.282-.86-.283-1.796M15 3.5V7m0 10v-6M9 20.5V17M9 7v6" 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="M3 8.71c0-1.474 0-2.21.393-2.64a1.5 1.5 0 0 1 .497-.36c.532-.236 1.231-.003 2.629.463 1.067.356 1.6.534 2.14.515a3 3 0 0 0 .588-.078c.525-.125.993-.437 1.929-1.06l1.382-.922c1.2-.8 1.799-1.2 2.487-1.291.688-.093 1.372.135 2.739.591l1.165.388c.99.33 1.485.495 1.768.888.283.393.283.915.283 1.958v8.129c0 1.473 0 2.21-.393 2.64a1.5 1.5 0 0 1-.497.358c-.532.237-1.231.004-2.629-.462-1.067-.356-1.6-.534-2.14-.515a3.001 3.001 0 0 0-.588.078c-.525.125-.993.437-1.929 1.06l-1.382.922c-1.2.8-1.799 1.2-2.487 1.291-.688.093-1.372-.135-2.739-.591l-1.165-.388c-.99-.33-1.485-.495-1.768-.888C3 18.403 3 17.88 3 16.838V8.709Z" stroke="currentColor" strokeWidth={1.5} /><path opacity={0.5} d="M9 6.639V20.5M15 3v14" stroke="currentColor" strokeWidth={1.5} /></svg>, Linear: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M3 8.71c0-1.474 0-2.21.393-2.64a1.5 1.5 0 0 1 .497-.36c.532-.236 1.231-.003 2.629.463 1.067.356 1.6.534 2.14.515a3 3 0 0 0 .588-.078c.525-.125.993-.437 1.929-1.06l1.382-.922c1.2-.8 1.799-1.2 2.487-1.291.688-.093 1.372.135 2.739.591l1.165.388c.99.33 1.485.495 1.768.888.283.393.283.915.283 1.958v8.129c0 1.473 0 2.21-.393 2.64a1.5 1.5 0 0 1-.497.358c-.532.237-1.231.004-2.629-.462-1.067-.356-1.6-.534-2.14-.515a3.001 3.001 0 0 0-.588.078c-.525.125-.993.437-1.929 1.06l-1.382.922c-1.2.8-1.799 1.2-2.487 1.291-.688.093-1.372-.135-2.739-.591l-1.165-.388c-.99-.33-1.485-.495-1.768-.888C3 18.403 3 17.88 3 16.838V8.709ZM9 6.639V20.5M15 3v14" stroke="currentColor" strokeWidth={1.5} /></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.861 3.163.16.054 1.202.4c.463.155.87.29 1.191.44.348.162.667.37.911.709.244.338.341.707.385 1.088.04.353.04.781.04 1.27v8.212c0 .698 0 1.287-.054 1.753-.056.484-.182.962-.535 1.348a2.25 2.25 0 0 1-.746.538c-.478.212-.971.18-1.448.081-.46-.096-1.018-.282-1.68-.503l-.043-.014c-1.12-.374-1.505-.49-1.877-.477a2.251 2.251 0 0 0-.441.059c-.363.085-.703.299-1.686.954l-1.382.922-.14.093c-1.062.709-1.8 1.201-2.664 1.317-.863.116-1.705-.165-2.915-.57l-.16-.053-1.202-.4c-.463-.155-.87-.29-1.191-.44-.348-.162-.667-.37-.911-.71-.244-.338-.341-.706-.385-1.088-.04-.353-.04-.78-.04-1.269V8.665c0-.699 0-1.288.054-1.753.056-.484.182-.962.535-1.348a2.25 2.25 0 0 1 .746-.538c.478-.213.972-.181 1.448-.081.46.095 1.018.282 1.68.503l.043.014c1.12.373 1.505.49 1.878.477a2.25 2.25 0 0 0 .44-.059c.363-.086.703-.3 1.686-.954l1.382-.922.14-.094c1.062-.708 1.8-1.2 2.663-1.316.864-.116 1.706.165 2.916.57Zm-2.111.943V16.58c.536.058 1.1.246 1.843.494l.125.042c.717.239 1.192.396 1.555.472.356.074.477.04.532.016a.75.75 0 0 0 .249-.179c.04-.044.11-.149.152-.51.043-.368.044-.869.044-1.624V7.163c0-.54-.001-.88-.03-1.138-.028-.239-.072-.328-.112-.382-.039-.054-.109-.125-.326-.226-.236-.11-.56-.218-1.07-.389l-1.165-.388c-.887-.296-1.413-.464-1.797-.534Zm-1.5 12.654V4.434c-.311.18-.71.441-1.276.818l-1.382.922-.11.073c-.688.46-1.201.802-1.732.994v12.326c.311-.18.71-.442 1.276-.819l1.382-.921.11-.073c.688-.46 1.201-.802 1.732-.994Zm-6 3.135V7.42c-.536-.058-1.1-.246-1.843-.494l-.125-.042c-.717-.239-1.192-.396-1.556-.472-.355-.074-.476-.041-.53-.017a.75.75 0 0 0-.25.18c-.04.043-.11.148-.152.509-.043.368-.044.87-.044 1.625v8.128c0 .54.001.88.03 1.138.028.239.072.327.112.382.039.054.109.125.326.226.236.11.56.218 1.07.389l1.165.388c.887.295 1.412.463 1.797.534Z" 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="M2.436 5.147C2 5.643 2 6.495 2 8.197v9.394c0 1.206 0 1.809.315 2.263.314.454.864.645 1.964 1.026l1.294.449c.701.243 1.24.43 1.693.55.296.079.567-.153.567-.459V6.27a.55.55 0 0 0-.425-.52c-.389-.099-.857-.261-1.498-.483-1.553-.539-2.33-.808-2.92-.535a1.67 1.67 0 0 0-.554.415ZM12.62 3.481l-1.536 1.065c-.555.385-.963.668-1.31.869a.535.535 0 0 0-.274.458V20.92c0 .37.384.602.696.402.335-.214.719-.48 1.184-.802l1.536-1.065c.555-.385.963-.668 1.31-.869a.535.535 0 0 0 .274-.458V3.08c0-.371-.384-.602-.696-.403-.335.215-.719.48-1.184.803ZM19.72 3.12l-1.293-.448c-.701-.243-1.24-.43-1.693-.55-.296-.079-.567.153-.567.459v15.15a.55.55 0 0 0 .425.52c.389.099.857.26 1.498.483 1.553.539 2.33.808 2.92.535a1.67 1.67 0 0 0 .554-.415c.436-.496.436-1.348.436-3.05V6.41c0-1.206 0-1.81-.315-2.263-.314-.454-.864-.645-1.964-1.026Z" fill="currentColor" /></svg>, BoldDuotone: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><g opacity={0.5} fill="currentColor"><path d="M3 8.71v8.128c0 1.043 0 1.565.283 1.958s.778.558 1.768.888l1.165.388c1.367.456 2.05.684 2.739.591L9 20.657v-14a3 3 0 0 1-.34.031c-.54.019-1.074-.16-2.141-.515-1.398-.466-2.097-.699-2.629-.462a1.5 1.5 0 0 0-.497.358C3 6.5 3 7.236 3 8.71ZM21 15.29V7.163c0-1.043 0-1.565-.283-1.958s-.778-.558-1.768-.888l-1.165-.388c-1.367-.456-2.05-.684-2.739-.591L15 3.343v14c.113-.017.227-.027.34-.031.54-.019 1.074.16 2.141.515 1.398.466 2.097.699 2.629.462a1.5 1.5 0 0 0 .497-.358C21 17.5 21 16.764 21 15.29Z" /></g><path d="M9.247 6.61c-.082.018-.164.034-.247.047v14c.67-.104 1.269-.503 2.442-1.285l1.382-.922c.936-.624 1.404-.936 1.93-1.06.08-.02.163-.035.246-.047v-14c-.67.103-1.269.503-2.442 1.284l-1.382.922c-.936.624-1.404.936-1.93 1.06ZM17.481 17.827l.254.084-.254-.084Z" fill="currentColor" /></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default Map