lucide-solid
Version:
A Lucide icon library package for Solid applications
40 lines (35 loc) • 1.58 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.
*/
import { createComponent, mergeProps } from 'solid-js/web';
import Icon from '../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 => createComponent(Icon, mergeProps(props, {
iconNode: iconNode,
name: "shopping-bag"
}));
export { ShoppingBag as default };
//# sourceMappingURL=shopping-bag.js.map