lucide-solid
Version:
A Lucide icon library package for Solid applications
42 lines (37 loc) • 1.5 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.
*/
import { createComponent, mergeProps } from 'solid-js/web';
import Icon from '../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 => createComponent(Icon, mergeProps(props, {
iconNode: iconNode,
name: "anchor"
}));
export { Anchor as default };
//# sourceMappingURL=anchor.js.map