lucide-solid
Version:
A Lucide icon library package for Solid applications
37 lines (32 loc) • 1.4 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 = [['polyline', {
points: '16 18 22 12 16 6',
key: 'z7tu5w'
}], ['polyline', {
points: '8 6 2 12 8 18',
key: '1eg1df'
}]];
/**
* @component @name Code
* @description Lucide SVG icon component, renders SVG Element with children.
*
* @preview  - https://lucide.dev/icons/code
* @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 Code = props => createComponent(Icon, mergeProps(props, {
iconNode: iconNode,
name: "code"
}));
export { Code as default };
//# sourceMappingURL=code.js.map