lucide-solid
Version:
A Lucide icon library package for Solid applications
49 lines (43 loc) • 1.62 kB
JavaScript
/**
* @license lucide-solid v0.487.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: '18',
height: '18',
x: '3',
y: '3',
rx: '2',
ry: '2',
key: '1m3agn'
}], ['circle', {
cx: '9',
cy: '9',
r: '2',
key: 'af1f0g'
}], ['path', {
d: 'm21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21',
key: '1xmnt7'
}]];
/**
* @component @name Image
* @description Lucide SVG icon component, renders SVG Element with children.
*
* @preview  - https://lucide.dev/icons/image
* @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 Image = props => web.createComponent(Icon, web.mergeProps(props, {
iconNode: iconNode,
name: "image"
}));
module.exports = Image;
//# sourceMappingURL=image.js.map