UNPKG

@raid-ui/icons

Version:
1 lines 1.02 kB
function _extends(){return(_extends=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}import*as React from"react";import{Icon}from"./icon.js";const O=({strokeWidth:t,titleId:e,title:r})=>React.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:t,strokeLinecap:"round",strokeLinejoin:"round",width:"100%",height:"100%",focusable:!1,"aria-labelledby":"ShoppingCart-icon"},r?React.createElement("title",{id:e},r):null,React.createElement("circle",{cx:9,cy:21,r:1}),React.createElement("circle",{cx:20,cy:21,r:1}),React.createElement("path",{d:"M1 1h4l2.68 13.39a2 2 0 002 1.61h9.72a2 2 0 002-1.61L23 6H6"}));export const ShoppingCart=t=>React.createElement(Icon,t,React.createElement(O,_extends({strokeWidth:t.strokeWidth,title:t.title,titleId:t.titleId},t)));ShoppingCart.defaultProps={strokeWidth:2,title:"ShoppingCart",titleId:"ShoppingCart-icon"};