import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const Umbrella = (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="M8.75 19a.75.75 0 0 0-1.5 0h1.5Zm4-3a.75.75 0 0 0-1.5 0h1.5Zm-4 4v-1h-1.5v1h1.5ZM12 12.75h9.524v-1.5H12v1.5Zm.476-11.5h-.952v1.5h.952v-1.5Zm-10 11.5H12v-1.5H2.476v1.5ZM1.25 11.524c0 .677.549 1.226 1.226 1.226v-1.5c.151 0 .274.123.274.274h-1.5Zm21.5 0c0-5.674-4.6-10.274-10.274-10.274v1.5a8.774 8.774 0 0 1 8.774 8.774h1.5Zm-1.226 1.226c.677 0 1.226-.549 1.226-1.226h-1.5c0-.151.123-.274.274-.274v1.5ZM10 21.25c-.69 0-1.25-.56-1.25-1.25h-1.5A2.75 2.75 0 0 0 10 22.75v-1.5Zm1.524-20C5.85 1.25 1.25 5.85 1.25 11.524h1.5a8.774 8.774 0 0 1 8.774-8.774v-1.5ZM11.25 20c0 .69-.56 1.25-1.25 1.25v1.5A2.75 2.75 0 0 0 12.75 20h-1.5Zm0-4V20h1.5V16h-1.5Z" fill="currentColor" /><path d="M16.914 12C16.635 9.289 15.554 2 12 2 8.446 2 7.365 9.289 7.086 12" stroke="currentColor" strokeWidth={1.5} /></svg>, LineDuotone: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M8.75 19a.75.75 0 0 0-1.5 0h1.5Zm2.5-7v8h1.5v-8h-1.5Zm-2.5 8v-1h-1.5v1h1.5ZM12 12.75h9.524v-1.5H12v1.5Zm.476-11.5h-.952v1.5h.952v-1.5Zm-10 11.5H12v-1.5H2.476v1.5ZM1.25 11.524c0 .677.549 1.226 1.226 1.226v-1.5c.151 0 .274.123.274.274h-1.5Zm21.5 0c0-5.674-4.6-10.274-10.274-10.274v1.5a8.774 8.774 0 0 1 8.774 8.774h1.5Zm-1.226 1.226c.677 0 1.226-.549 1.226-1.226h-1.5c0-.151.123-.274.274-.274v1.5ZM10 21.25c-.69 0-1.25-.56-1.25-1.25h-1.5A2.75 2.75 0 0 0 10 22.75v-1.5Zm1.524-20C5.85 1.25 1.25 5.85 1.25 11.524h1.5a8.774 8.774 0 0 1 8.774-8.774v-1.5ZM11.25 20c0 .69-.56 1.25-1.25 1.25v1.5A2.75 2.75 0 0 0 12.75 20h-1.5Z" fill="currentColor" /><path opacity={0.5} d="M16.915 12C16.634 9.289 15.555 2 12 2 8.446 2 7.365 9.289 7.086 12" 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="M8.75 19a.75.75 0 0 0-1.5 0h1.5Zm2.5-7v8h1.5v-8h-1.5Zm-2.5 8v-1h-1.5v1h1.5ZM12 12.75h9.524v-1.5H12v1.5Zm.476-11.5h-.952v1.5h.952v-1.5Zm-10 11.5H12v-1.5H2.476v1.5ZM1.25 11.524c0 .677.549 1.226 1.226 1.226v-1.5c.151 0 .274.123.274.274h-1.5Zm21.5 0c0-5.674-4.6-10.274-10.274-10.274v1.5a8.774 8.774 0 0 1 8.774 8.774h1.5Zm-1.226 1.226c.677 0 1.226-.549 1.226-1.226h-1.5c0-.151.123-.274.274-.274v1.5ZM10 21.25c-.69 0-1.25-.56-1.25-1.25h-1.5A2.75 2.75 0 0 0 10 22.75v-1.5Zm1.524-20C5.85 1.25 1.25 5.85 1.25 11.524h1.5a8.774 8.774 0 0 1 8.774-8.774v-1.5ZM11.25 20c0 .69-.56 1.25-1.25 1.25v1.5A2.75 2.75 0 0 0 12.75 20h-1.5Z" fill="currentColor" /><path d="M16.915 12C16.634 9.289 15.555 2 12 2 8.446 2 7.365 9.289 7.086 12" 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="M11.524 1.25C5.85 1.25 1.25 5.85 1.25 11.524c0 .677.549 1.226 1.226 1.226h8.774V20a1.25 1.25 0 1 1-2.5 0v-1a.75.75 0 0 0-1.5 0v1a2.75 2.75 0 1 0 5.5 0v-7.25h8.774c.677 0 1.226-.549 1.226-1.226 0-5.674-4.6-10.274-10.274-10.274h-.952Zm-2.68 1.917a8.778 8.778 0 0 0-6.09 8.083h3.661c.176-1.442.526-3.596 1.191-5.512.319-.92.722-1.821 1.238-2.571Zm-.917 8.083c.176-1.382.506-3.32 1.096-5.021.362-1.042.802-1.941 1.325-2.567.514-.616 1.055-.912 1.652-.912s1.138.296 1.652.912c.523.626.963 1.525 1.325 2.567.59 1.701.92 3.64 1.096 5.021H7.927Zm9.658 0c-.176-1.442-.527-3.596-1.191-5.512-.319-.92-.722-1.821-1.238-2.571a8.778 8.778 0 0 1 6.09 8.083h-3.661Z" 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.476 12A.476.476 0 0 1 2 11.524c0-4.446 3.046-8.18 7.165-9.23a6.721 6.721 0 0 0-.424.606c-.736 1.178-1.248 2.705-1.607 4.172a34.412 34.412 0 0 0-.712 4.043c-.039.331-.07.63-.094.885H2.476ZM22 11.524a.476.476 0 0 1-.476.476h-3.852a38.691 38.691 0 0 0-.095-.885 34.4 34.4 0 0 0-.711-4.043c-.36-1.467-.87-2.994-1.607-4.172a6.703 6.703 0 0 0-.424-.606C18.955 3.344 22 7.078 22 11.524ZM11.25 20v-8H7.835c.02-.211.046-.45.077-.709.126-1.06.337-2.465.68-3.863.344-1.408.81-2.756 1.42-3.734C10.63 2.707 11.29 2.25 12 2.25c.711 0 1.37.457 1.987 1.444.611.978 1.077 2.326 1.422 3.734.342 1.398.553 2.803.679 3.863.03.26.056.498.077.709H12.75v8a2.75 2.75 0 1 1-5.5 0v-1a.75.75 0 0 1 1.5 0v1a1.25 1.25 0 1 0 2.5 0Z" 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="M21.524 12H2.476A.476.476 0 0 1 2 11.524 9.524 9.524 0 0 1 11.524 2h.952A9.524 9.524 0 0 1 22 11.524a.476.476 0 0 1-.476.476Z" fill="currentColor" /><path fillRule="evenodd" clipRule="evenodd" d="M11.25 20v-8h1.5v8a2.75 2.75 0 1 1-5.5 0v-1a.75.75 0 0 1 1.5 0v1a1.25 1.25 0 1 0 2.5 0Z" fill="currentColor" /><path d="M7.84 12c.143-1.354.477-3.733 1.184-5.771.36-1.042.802-1.941 1.324-2.567.514-.616 1.055-.912 1.652-.912.598 0 1.139.296 1.652.912.523.626.964 1.525 1.325 2.567.707 2.038 1.04 4.417 1.183 5.771h1.509l-.008-.077c-.142-1.371-.489-3.94-1.267-6.185-.388-1.12-.901-2.212-1.59-3.037a5 5 0 0 0-.506-.527A9.574 9.574 0 0 0 12.476 2h-.952c-.623 0-1.231.06-1.82.174a5 5 0 0 0-.508.527c-.688.825-1.201 1.917-1.59 3.037-.778 2.244-1.125 4.814-1.266 6.185L6.332 12H7.84Z" fill="currentColor" /></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default Umbrella