···11-// Preact hooks shim — re-exports hono/jsx hooks for lucide-preact compatibility.
22-export { useContext, useMemo } from "hono/jsx";
-9
lib/shims/preact.ts
···11-// Preact compatibility shim — maps preact APIs to hono/jsx equivalents
22-// so that lucide-preact works in this hono/jsx project.
33-export { createElement as h, createContext, Fragment } from "hono/jsx";
44-55-export function toChildArray(children: unknown): unknown[] {
66- if (children == null || children === false) return [];
77- if (Array.isArray(children)) return children.flat(Infinity);
88- return [children];
99-}