UNPKG

lucide-solid

Version:

A Lucide icon library package for Solid applications

51 lines (45 loc) 1.7 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 = [['line', { x1: '3', x2: '21', y1: '6', y2: '6', key: '4m8b97' }], ['path', { d: 'M3 12h15a3 3 0 1 1 0 6h-4', key: '1cl7v7' }], ['polyline', { points: '16 16 14 18 16 20', key: '1jznyi' }], ['line', { x1: '3', x2: '10', y1: '18', y2: '18', key: '1h33wv' }]]; /** * @component @name WrapText * @description Lucide SVG icon component, renders SVG Element with children. * * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8bGluZSB4MT0iMyIgeDI9IjIxIiB5MT0iNiIgeTI9IjYiIC8+CiAgPHBhdGggZD0iTTMgMTJoMTVhMyAzIDAgMSAxIDAgNmgtNCIgLz4KICA8cG9seWxpbmUgcG9pbnRzPSIxNiAxNiAxNCAxOCAxNiAyMCIgLz4KICA8bGluZSB4MT0iMyIgeDI9IjEwIiB5MT0iMTgiIHkyPSIxOCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/wrap-text * @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 WrapText = props => web.createComponent(Icon, web.mergeProps(props, { iconNode: iconNode, name: "wrap-text" })); module.exports = WrapText; //# sourceMappingURL=wrap-text.js.map