lucide-solid
Version:
A Lucide icon library package for Solid applications.
36 lines (30 loc) • 1.58 kB
JavaScript
/**
* @license lucide-solid v0.562.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: 'M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5',
key: 'mvr1a0'
}]];
/**
* @component @name Heart
* @description Lucide SVG icon component, renders SVG Element with children.
*
* @preview  - https://lucide.dev/icons/heart
* @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 Heart = props => web.createComponent(Icon, web.mergeProps(props, {
iconNode: iconNode,
name: "heart"
}));
module.exports = Heart;
//# sourceMappingURL=heart.js.map