lucide-solid
Version:
A Lucide icon library package for Solid applications
42 lines (36 loc) • 1.42 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 12h12',
key: '8npq4p'
}], ['path', {
d: 'M6 20V4',
key: '1w1bmo'
}], ['path', {
d: 'M18 20V4',
key: 'o2hl4u'
}]];
/**
* @component @name Heading
* @description Lucide SVG icon component, renders SVG Element with children.
*
* @preview  - https://lucide.dev/icons/heading
* @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 Heading = props => web.createComponent(Icon, web.mergeProps(props, {
iconNode: iconNode,
name: "heading"
}));
module.exports = Heading;
//# sourceMappingURL=heading.js.map