lucide-solid
Version:
A Lucide icon library package for Solid applications
22 lines (21 loc) • 1.5 kB
JSX
import Icon from '../Icon';
const iconNode = [
['path', { d: 'M3 6h18', key: 'd0wm0j' }],
['path', { d: 'M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6', key: '4alrt4' }],
['path', { d: 'M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2', key: 'v07s0e' }],
['line', { x1: '10', x2: '10', y1: '11', y2: '17', key: '1uufr5' }],
['line', { x1: '14', x2: '14', y1: '11', y2: '17', key: 'xtxkd' }],
];
/**
* @component @name Trash2
* @description Lucide SVG icon component, renders SVG Element with children.
*
* @preview  - https://lucide.dev/icons/trash-2
* @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 Trash2 = (props) => <Icon {...props} name="Trash2" iconNode={iconNode}/>;
export default Trash2;