lucide-solid
Version:
A Lucide icon library package for Solid applications
34 lines (29 loc) • 2.08 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: 'M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z',
key: 'r04s7s'
}]];
/**
* @component @name Star
* @description Lucide SVG icon component, renders SVG Element with children.
*
* @preview  - https://lucide.dev/icons/star
* @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 Star = props => createComponent(Icon, mergeProps(props, {
iconNode: iconNode,
name: "star"
}));
export { Star as default };
//# sourceMappingURL=star.js.map