Skip to content
← Public packages

@kentcdodds/package-app-kit

Design tokens, PWA install/update, About/version, cache helpers, and optional realtime notes sync for Kody package apps.

FollowFork

starter-tanstack/app/icons/trash-2.tsx

32 lines · 766 B · TypeScript
import type { SVGProps } from 'react'

export type IconTrash2Props = SVGProps<SVGSVGElement> & {
	size?: number
}

/** Lucide icon `trash-2` (ISC) — React SVG component. */
export function IconTrash2({ size = 20, className, ...rest }: IconTrash2Props) {
	return (
		<svg
			xmlns="http://www.w3.org/2000/svg"
			width={size}
			height={size}
			viewBox="0 0 24 24"
			fill="none"
			stroke="currentColor"
			strokeWidth="2"
			strokeLinecap="round"
			strokeLinejoin="round"
			className={className}
			aria-hidden="true"
			data-lucide="trash-2"
			{...rest}
		>
			<path d="M10 11v6" />
			<path d="M14 11v6" />
			<path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" />
			<path d="M3 6h18" />
			<path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" />
		</svg>
	)
}