import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const Dialog = (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 7.07A8 8 0 0 0 2.835 17.562c.142.285.189.61.107.918l-.477 1.781a1.04 1.04 0 0 0 1.274 1.274l1.78-.477c.308-.082.634-.035.919.107A8 8 0 0 0 16.93 10" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="M18 14.502a6.45 6.45 0 0 0 .198-.087c.362-.165.768-.227 1.153-.124l.476.127a1.3 1.3 0 0 0 1.591-1.591l-.127-.476c-.103-.385-.04-.791.125-1.153A6.477 6.477 0 0 0 22 8.5a6.47 6.47 0 0 0-1-3.466m-11.5.962A6.502 6.502 0 0 1 19 3.022" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="M7.5 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM11 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM14.5 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" fill="currentColor" /></svg>, LineDuotone: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M10 22a8 8 0 1 0-7.22-4.55c.172.36.232.766.13 1.15l-.328 1.227a1.3 1.3 0 0 0 1.591 1.591L5.4 21.09a1.671 1.671 0 0 1 1.15.13c1.045.5 2.215.78 3.451.78Z" stroke="currentColor" strokeWidth={1.5} /><path opacity={0.5} d="M18 14.502a6.45 6.45 0 0 0 .198-.087c.362-.165.768-.227 1.153-.124l.476.127a1.3 1.3 0 0 0 1.591-1.591l-.127-.476c-.103-.385-.04-.791.125-1.153A6.5 6.5 0 1 0 9.5 5.996" stroke="currentColor" strokeWidth={1.5} /><g opacity={0.5} fill="currentColor"><path d="M7.5 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM11 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM14.5 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" /></g></svg>, Linear: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M10 22a8 8 0 1 0-7.22-4.55c.172.36.232.766.13 1.15l-.328 1.227a1.3 1.3 0 0 0 1.591 1.591L5.4 21.09a1.671 1.671 0 0 1 1.15.13c1.045.5 2.215.78 3.451.78Z" stroke="currentColor" strokeWidth={1.5} /><path d="M18 14.502a6.45 6.45 0 0 0 .198-.087c.362-.165.768-.227 1.153-.124l.476.127a1.3 1.3 0 0 0 1.591-1.591l-.127-.476c-.103-.385-.04-.791.125-1.153A6.5 6.5 0 1 0 9.5 5.996" stroke="currentColor" strokeWidth={1.5} /><path d="M7.5 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM11 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM14.5 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" fill="currentColor" /></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="M8.989 5.308a7.25 7.25 0 0 1 13.109 6.202c-.11.239-.131.465-.082.647l.127.476c.408 1.524-.986 2.918-2.51 2.51l-.476-.127a.882.882 0 0 0-.467.015 8.751 8.751 0 0 1-12.464 6.865.923.923 0 0 0-.633-.081l-1.226.328c-1.524.408-2.918-.986-2.51-2.51l.328-1.226a.924.924 0 0 0-.081-.633A8.751 8.751 0 0 1 8.989 5.308Zm1.746-.028a8.751 8.751 0 0 1 8.001 8.222 2.28 2.28 0 0 1 .808.065l.476.127a.55.55 0 0 0 .674-.674l-.127-.476c-.157-.587-.055-1.173.166-1.658a5.75 5.75 0 0 0-9.998-5.606ZM10 6.75a7.25 7.25 0 0 0-6.543 10.376 2.42 2.42 0 0 1 .177 1.668l-.328 1.226a.55.55 0 0 0 .673.674l1.227-.328a2.42 2.42 0 0 1 1.668.177A7.25 7.25 0 1 0 10 6.75Z" fill="currentColor" /><path d="M7.5 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM11 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM14.5 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" 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="M22 8.5a6.5 6.5 0 0 0-11.627-3.993C15.447 4.703 19.5 8.878 19.5 14c0 .11-.002.22-.006.33l.333.088a1.3 1.3 0 0 0 1.591-1.591l-.127-.476c-.103-.385-.04-.791.125-1.153A6.477 6.477 0 0 0 22 8.5Z" fill="currentColor" /><path fillRule="evenodd" clipRule="evenodd" d="M18 14a8 8 0 0 1-11.45 7.22 1.671 1.671 0 0 0-1.15-.13l-1.227.329a1.3 1.3 0 0 1-1.591-1.592L2.91 18.6a1.67 1.67 0 0 0-.13-1.15A8 8 0 1 1 18 14ZM6.5 15a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm3.5 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm3.5 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" 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="M18 14a8 8 0 0 1-11.45 7.22 1.671 1.671 0 0 0-1.15-.13l-1.227.329a1.3 1.3 0 0 1-1.591-1.592L2.91 18.6a1.67 1.67 0 0 0-.13-1.15A8 8 0 1 1 18 14ZM6.5 15a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm3.5 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm3.5 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" fill="currentColor" /><path opacity={0.6} d="M17.984 14.508a6.43 6.43 0 0 0 .32-.142c.291-.14.622-.189.934-.105l.996.267a1.056 1.056 0 0 0 1.294-1.294l-.267-.996a1.358 1.358 0 0 1 .105-.935A6.5 6.5 0 1 0 9.492 6.016a8 8 0 0 1 8.493 8.492Z" fill="currentColor" /></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default Dialog