lucide-solid
Version:
A Lucide icon library package for Solid applications
42 lines (36 loc) • 1.57 kB
JavaScript
/**
* @license lucide-solid v0.488.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
;
var web = require('solid-js/web');
var Icon = require('../Icon.js');
const iconNode = [['path', {
d: 'M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z',
key: 'hou9p0'
}], ['path', {
d: 'M3 6h18',
key: 'd0wm0j'
}], ['path', {
d: 'M16 10a4 4 0 0 1-8 0',
key: '1ltviw'
}]];
/**
* @component @name ShoppingBag
* @description Lucide SVG icon component, renders SVG Element with children.
*
* @preview  - https://lucide.dev/icons/shopping-bag
* @see https://lucide.dev/guide/packages/lucide-solid - Documentation
*
* @param {Object} props - Lucide icons props and any valid SVG attribute
* @returns {JSX.Element} JSX Element
*
*/
const ShoppingBag = props => web.createComponent(Icon, web.mergeProps(props, {
iconNode: iconNode,
name: "shopping-bag"
}));
module.exports = ShoppingBag;
//# sourceMappingURL=shopping-bag.js.map