lucide-solid
Version:
A Lucide icon library package for Solid applications
44 lines (39 loc) • 1.49 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 8h20',
key: 'd11cs7'
}], ['rect', {
width: '20',
height: '16',
x: '2',
y: '4',
rx: '2',
key: '18n3k1'
}], ['path', {
d: 'M6 16h12',
key: 'u522kt'
}]];
/**
* @component @name Dock
* @description Lucide SVG icon component, renders SVG Element with children.
*
* @preview  - https://lucide.dev/icons/dock
* @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 Dock = props => createComponent(Icon, mergeProps(props, {
iconNode: iconNode,
name: "dock"
}));
export { Dock as default };
//# sourceMappingURL=dock.js.map