import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const Cart2 = (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="m19.5 9.5-.71-2.605c-.274-1.005-.411-1.507-.692-1.886A2.5 2.5 0 0 0 17 4.172C16.56 4 16.04 4 15 4M4.5 9.5l.71-2.605c.274-1.005.411-1.507.692-1.886A2.5 2.5 0 0 1 7 4.172C7.44 4 7.96 4 9 4" stroke="currentColor" strokeWidth={1.5} /><path d="M9 4a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2h-4a1 1 0 0 1-1-1Z" stroke="currentColor" strokeWidth={1.5} /><path d="M4.5 18 12 9m7.5 9-7-8.5m-8 .5L12 21l7.5-11" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" strokeLinejoin="round" /><path d="M3.864 16.455c.546 2.183.819 3.274 1.632 3.91C6.31 21 7.435 21 9.685 21h4.63c2.25 0 3.375 0 4.19-.635.813-.636 1.086-1.727 1.631-3.91.858-3.432 1.287-5.147.387-6.301C19.622 9 17.852 9 14.316 9H9.684c-3.538 0-5.306 0-6.207 1.154-.529.677-.6 1.548-.394 2.846" 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.864 16.455c-.858-3.432-1.287-5.147-.386-6.301C4.378 9 6.148 9 9.685 9h4.63c3.538 0 5.306 0 6.207 1.154.901 1.153.472 2.87-.386 6.301-.546 2.183-.818 3.274-1.632 3.91-.814.635-1.939.635-4.189.635h-4.63c-2.25 0-3.375 0-4.189-.635-.814-.636-1.087-1.727-1.632-3.91Z" stroke="currentColor" strokeWidth={1.5} /><path opacity={0.5} d="m19.5 9.5-.71-2.605c-.274-1.005-.411-1.507-.692-1.886A2.5 2.5 0 0 0 17 4.172C16.56 4 16.04 4 15 4M4.5 9.5l.71-2.605c.274-1.005.411-1.507.692-1.886A2.5 2.5 0 0 1 7 4.172C7.44 4 7.96 4 9 4" stroke="currentColor" strokeWidth={1.5} /><path d="M9 4a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2h-4a1 1 0 0 1-1-1Z" stroke="currentColor" strokeWidth={1.5} /><path opacity={0.5} d="M4.5 18 12 9m7.5 9-7-8.5m-8 .5L12 21l7.5-11" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" strokeLinejoin="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="M3.864 16.455c-.858-3.432-1.287-5.147-.386-6.301C4.378 9 6.148 9 9.685 9h4.63c3.538 0 5.306 0 6.207 1.154.901 1.153.472 2.87-.386 6.301-.546 2.183-.818 3.274-1.632 3.91-.814.635-1.939.635-4.189.635h-4.63c-2.25 0-3.375 0-4.189-.635-.814-.636-1.087-1.727-1.632-3.91Z" stroke="currentColor" strokeWidth={1.5} /><path d="m19.5 9.5-.71-2.605c-.274-1.005-.411-1.507-.692-1.886A2.5 2.5 0 0 0 17 4.172C16.56 4 16.04 4 15 4M4.5 9.5l.71-2.605c.274-1.005.411-1.507.692-1.886A2.5 2.5 0 0 1 7 4.172C7.44 4 7.96 4 9 4" stroke="currentColor" strokeWidth={1.5} /><path d="M9 4a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2h-4a1 1 0 0 1-1-1Z" stroke="currentColor" strokeWidth={1.5} /><path d="M4.5 18 12 9m7.5 9-7-8.5m-8 .5L12 21l7.5-11" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" strokeLinejoin="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="M9.638 21.75c-1.085 0-1.967 0-2.675-.085-.74-.088-1.374-.276-1.929-.71-.554-.432-.89-1.002-1.156-1.698-.254-.667-.467-1.522-.73-2.575l-.027-.105c-.416-1.665-.749-2.995-.856-4.05-.11-1.09 0-2.038.621-2.835.283-.362.622-.63 1.01-.828l.628-2.303c.237-.871.41-1.505.776-1.999a3.25 3.25 0 0 1 1.426-1.089c.476-.186 1.008-.217 1.692-.222.28-.592.884-1.001 1.582-1.001h4c.698 0 1.301.41 1.582 1 .683.006 1.216.037 1.692.223a3.25 3.25 0 0 1 1.426 1.09c.367.493.539 1.127.776 1.998l.628 2.303c.387.199.727.466 1.01.828.621.797.731 1.746.62 2.834-.107 1.056-.44 2.386-.855 4.05l-.027.106c-.263 1.053-.477 1.908-.73 2.575-.266.696-.602 1.266-1.157 1.699-.554.433-1.189.62-1.928.71-.709.084-1.59.084-2.675.084H9.638ZM7.272 4.87c.22-.086.486-.111 1.147-.118.282.59.884.998 1.58.998h4c.698 0 1.3-.408 1.582-.998.661.007.927.032 1.147.118.306.12.572.323.768.587.176.237.279.568.57 1.635l.354 1.297c-1.038-.139-2.378-.139-4.043-.139H9.622c-1.664 0-3.004 0-4.042.139l.354-1.297c.29-1.067.394-1.398.57-1.635a1.75 1.75 0 0 1 .768-.587ZM10.4 9.75h-.714c-1.793 0-3.055.002-3.985.136a6.115 6.115 0 0 0-.331.057l2.19 3.213L10.4 9.75Zm-6.36.905c-.258.354-.371.837-.282 1.72.095.935.4 2.16.834 3.898l.086.343 1.884-2.261-2.522-3.7Zm1.12 7.725c.04.122.08.236.121.343.211.555.418.848.678 1.05.259.203.593.332 1.183.403.61.073 1.4.074 2.544.074h.896L7.44 15.643 5.16 18.38Zm8.26 1.87 3.153-4.625 2.268 2.754c-.04.122-.08.237-.12.344-.212.555-.419.848-.678 1.05-.259.203-.594.332-1.183.403-.61.073-1.4.074-2.544.074h-.896Zm5.906-3.642.083-.335c.435-1.739.74-2.963.834-3.899.09-.882-.023-1.365-.281-1.719l-2.508 3.68 1.872 2.273Zm-.694-6.665a6.1 6.1 0 0 0-.331-.057c-.93-.134-2.192-.136-3.985-.136h-.638l2.782 3.378 2.172-3.185ZM10 3.75a.25.25 0 0 0 0 .5h4a.25.25 0 1 0 0-.5h-4Zm2.04 6.372 3.54 4.297-3.58 5.25-3.562-5.224 3.603-4.323Z" 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="M8.418 3.25c.28-.59.884-1 1.582-1h4c.698 0 1.301.41 1.582 1 .683.006 1.216.037 1.692.223a3.25 3.25 0 0 1 1.426 1.09c.367.494.54 1.127.776 1.998l.037.136.002.007.874 3.324.012-.017c.042.045.082.093.121.143.901 1.154.472 2.87-.386 6.301-.078.313-.15.603-.22.873l-2.477-2.973 1.83-2.685-.505-1.922-2.324 3.409L12.976 9h1.34c1.893 0 3.28 0 4.298.177l-.549-2.088c-.29-1.064-.393-1.395-.57-1.632a1.75 1.75 0 0 0-.767-.587c-.22-.086-.486-.111-1.148-.118A1.75 1.75 0 0 1 14 5.75h-4a1.75 1.75 0 0 1-1.58-.998c-.662.007-.928.032-1.148.118a1.75 1.75 0 0 0-.768.587c-.176.237-.279.568-.57 1.632l-.548 2.088C6.404 9 7.791 9 9.685 9h1.339L7.56 13.157 5.236 9.748 4.73 11.67l1.83 2.685-2.477 2.973c-.07-.27-.142-.56-.22-.873-.858-3.431-1.287-5.147-.386-6.301.039-.05.08-.098.121-.143l.012.017.874-3.324.002-.007.037-.136c.237-.871.41-1.505.776-1.999a3.25 3.25 0 0 1 1.426-1.089c.476-.186 1.008-.217 1.692-.222Z" fill="currentColor" /><path d="M4.602 19.05c.233.593.5 1.007.894 1.315C6.31 21 7.435 21 9.685 21h1.407L7.44 15.644l-2.838 3.405ZM12.908 21h1.407c2.25 0 3.375 0 4.189-.635.394-.308.661-.722.894-1.316l-2.838-3.405L12.908 21ZM12 19.669l-3.561-5.224L12 10.172l3.561 4.273L12 19.67Z" 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="M10.023 2a1.75 1.75 0 0 0 0 3.5h4a1.75 1.75 0 1 0 0-3.5h-4ZM3.887 16.205C3.029 12.773 2.6 11.058 3.5 9.904 4.4 8.75 6.17 8.75 9.708 8.75h4.63c3.538 0 5.306 0 6.207 1.154.901 1.153.472 2.87-.386 6.301-.546 2.183-.818 3.274-1.632 3.91-.814.635-1.939.635-4.189.635h-4.63c-2.25 0-3.375 0-4.189-.635-.814-.636-1.087-1.727-1.632-3.91Z" fill="currentColor" /><path fillRule="evenodd" clipRule="evenodd" d="m4.647 9.118 2.857 4.106 3.728-4.474h1.536l3.728 4.474 2.865-4.12c.507.172.891.425 1.184.8l.045.06-3.098 4.455 2.392 2.87c-.183.7-.347 1.252-.54 1.696l-2.74-3.29-3.517 5.055h-2.175l-3.516-5.054-2.71 3.252c-.19-.446-.353-1.001-.535-1.7l2.357-2.83-3.076-4.421c.022-.032.045-.063.068-.093.286-.366.659-.616 1.147-.786ZM12 19.687 8.392 14.5 12 10.17l3.607 4.33L12 19.687Z" fill="currentColor" /><path d="M15.604 4.502a1.743 1.743 0 0 0 .002-1.501c.683.005 1.216.036 1.691.222a3.25 3.25 0 0 1 1.426 1.09c.367.494.54 1.127.777 1.999l.046.17.513 2.963c-.409-.282-.936-.45-1.618-.55l-.36-2.087c-.285-1.04-.388-1.367-.562-1.601a1.75 1.75 0 0 0-.768-.587c-.22-.086-.485-.11-1.147-.118ZM8.441 3.001a1.743 1.743 0 0 0 .002 1.501c-.662.007-.927.032-1.147.118a1.75 1.75 0 0 0-.768.587c-.174.234-.277.561-.561 1.6l-.361 2.089c-.682.1-1.209.267-1.618.548l.513-2.962.046-.17c.237-.872.41-1.505.777-2A3.25 3.25 0 0 1 6.75 3.224c.475-.186 1.008-.217 1.691-.222Z" fill="currentColor" /></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default Cart2