lucide-solid
Version:
A Lucide icon library package for Solid applications
44 lines (38 loc) • 1.49 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 = [['path', {
d: 'M12 22V8',
key: 'qkxhtm'
}], ['path', {
d: 'M5 12H2a10 10 0 0 0 20 0h-3',
key: '1hv3nh'
}], ['circle', {
cx: '12',
cy: '5',
r: '3',
key: 'rqqgnr'
}]];
/**
* @component @name Anchor
* @description Lucide SVG icon component, renders SVG Element with children.
*
* @preview  - https://lucide.dev/icons/anchor
* @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 Anchor = props => web.createComponent(Icon, web.mergeProps(props, {
iconNode: iconNode,
name: "anchor"
}));
module.exports = Anchor;
//# sourceMappingURL=anchor.js.map