lucide-solid
Version:
A Lucide icon library package for Solid applications
46 lines (40 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.
*/
;
var web = require('solid-js/web');
var Icon = require('../Icon.js');
const iconNode = [['rect', {
width: '20',
height: '5',
x: '2',
y: '3',
rx: '1',
key: '1wp1u1'
}], ['path', {
d: 'M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8',
key: '1s80jp'
}], ['path', {
d: 'M10 12h4',
key: 'a56b0p'
}]];
/**
* @component @name Archive
* @description Lucide SVG icon component, renders SVG Element with children.
*
* @preview  - https://lucide.dev/icons/archive
* @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 Archive = props => web.createComponent(Icon, web.mergeProps(props, {
iconNode: iconNode,
name: "archive"
}));
module.exports = Archive;
//# sourceMappingURL=archive.js.map