UNPKG

lucide-solid

Version:

A Lucide icon library package for Solid applications

59 lines (54 loc) 1.82 kB
/** * @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 = [['rect', { width: '20', height: '8', x: '2', y: '2', rx: '2', ry: '2', key: 'ngkwjq' }], ['rect', { width: '20', height: '8', x: '2', y: '14', rx: '2', ry: '2', key: 'iecqi9' }], ['line', { x1: '6', x2: '6.01', y1: '6', y2: '6', key: '16zg32' }], ['line', { x1: '6', x2: '6.01', y1: '18', y2: '18', key: 'nzw8ys' }]]; /** * @component @name Server * @description Lucide SVG icon component, renders SVG Element with children. * * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cmVjdCB3aWR0aD0iMjAiIGhlaWdodD0iOCIgeD0iMiIgeT0iMiIgcng9IjIiIHJ5PSIyIiAvPgogIDxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSI4IiB4PSIyIiB5PSIxNCIgcng9IjIiIHJ5PSIyIiAvPgogIDxsaW5lIHgxPSI2IiB4Mj0iNi4wMSIgeTE9IjYiIHkyPSI2IiAvPgogIDxsaW5lIHgxPSI2IiB4Mj0iNi4wMSIgeTE9IjE4IiB5Mj0iMTgiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/server * @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 Server = props => createComponent(Icon, mergeProps(props, { iconNode: iconNode, name: "server" })); export { Server as default }; //# sourceMappingURL=server.js.map