lucide-solid
Version:
A Lucide icon library package for Solid applications
37 lines (32 loc) • 1.47 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: 'm10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z',
key: 'wa1lgi'
}], ['path', {
d: 'm8.5 8.5 7 7',
key: 'rvfmvr'
}]];
/**
* @component @name Pill
* @description Lucide SVG icon component, renders SVG Element with children.
*
* @preview  - https://lucide.dev/icons/pill
* @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 Pill = props => createComponent(Icon, mergeProps(props, {
iconNode: iconNode,
name: "pill"
}));
export { Pill as default };
//# sourceMappingURL=pill.js.map