lucide-solid
Version:
A Lucide icon library package for Solid applications
34 lines (29 loc) • 1.56 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: 'M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41l-7.59-7.59a2.41 2.41 0 0 0-3.41 0Z',
key: '1f1r0c'
}]];
/**
* @component @name Diamond
* @description Lucide SVG icon component, renders SVG Element with children.
*
* @preview  - https://lucide.dev/icons/diamond
* @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 Diamond = props => createComponent(Icon, mergeProps(props, {
iconNode: iconNode,
name: "diamond"
}));
export { Diamond as default };
//# sourceMappingURL=diamond.js.map