lucide-solid
Version:
A Lucide icon library package for Solid applications
42 lines (36 loc) • 1.4 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: 'M15 18H3',
key: 'olowqp'
}], ['path', {
d: 'M17 6H3',
key: '16j9eg'
}], ['path', {
d: 'M21 12H3',
key: '2avoz0'
}]];
/**
* @component @name Text
* @description Lucide SVG icon component, renders SVG Element with children.
*
* @preview  - https://lucide.dev/icons/text
* @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 Text = props => web.createComponent(Icon, web.mergeProps(props, {
iconNode: iconNode,
name: "text"
}));
module.exports = Text;
//# sourceMappingURL=text.js.map