UNPKG

lucide-solid

Version:

A Lucide icon library package for Solid applications

62 lines (56 loc) 1.85 kB
/** * @license lucide-solid v0.488.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ 'use strict'; var web = require('solid-js/web'); var Icon = require('../Icon.js'); const iconNode = [['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }], ['line', { x1: '22', x2: '18', y1: '12', y2: '12', key: 'l9bcsi' }], ['line', { x1: '6', x2: '2', y1: '12', y2: '12', key: '13hhkx' }], ['line', { x1: '12', x2: '12', y1: '6', y2: '2', key: '10w3f3' }], ['line', { x1: '12', x2: '12', y1: '22', y2: '18', key: '15g9kq' }]]; /** * @component @name Crosshair * @description Lucide SVG icon component, renders SVG Element with children. * * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8bGluZSB4MT0iMjIiIHgyPSIxOCIgeTE9IjEyIiB5Mj0iMTIiIC8+CiAgPGxpbmUgeDE9IjYiIHgyPSIyIiB5MT0iMTIiIHkyPSIxMiIgLz4KICA8bGluZSB4MT0iMTIiIHgyPSIxMiIgeTE9IjYiIHkyPSIyIiAvPgogIDxsaW5lIHgxPSIxMiIgeDI9IjEyIiB5MT0iMjIiIHkyPSIxOCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/crosshair * @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 Crosshair = props => web.createComponent(Icon, web.mergeProps(props, { iconNode: iconNode, name: "crosshair" })); module.exports = Crosshair; //# sourceMappingURL=crosshair.js.map