← Public packages
@kentcdodds/package-app-kit
Design tokens, PWA install/update, About/version, cache helpers, and optional realtime notes sync for Kody package apps.
starter-remix/app/icons/trash-2.tsx
41 lines · 1.0 KB · TypeScript/** @jsxRuntime automatic */
/** @jsxImportSource remix/ui */
/**
* Lucide icon `trash-2` (ISC) — generated by scripts/add-lucide-icon.mjs
* Source: https://lucide.dev/icons/trash-2
* Remix Handle component (returns a render function). Re-run the script to refresh.
*/
import type { Handle } from 'remix/ui'
export type IconTrash2Props = {
size?: number
class?: string
}
export function IconTrash2(handle: Handle<IconTrash2Props>) {
return () => {
const size = handle.props.size ?? 20
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class={handle.props.class}
aria-hidden="true"
data-lucide="trash-2"
>
<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>
)
}
}