UNPKG

react-code-canvas

Version:

A browser-based canvas for rendering React components at runtime

11 lines (10 loc) 630 B
/** recharts exports. Referencing any of these pulls in ~138 KB, so the check * happens before the import, not after. */ export declare const RECHARTS_NAMES: string[]; /** motion/react exports. `motion` itself is lowercase and is what <motion.div> * resolves against, so it is in this list too. */ export declare const MOTION_NAMES: string[]; /** react-icons/fa exports. The pack is a single module with no per-icon files, * so unlike lucide it can only be fetched whole (~424 KB gzipped). The list is * what lets that fetch be skipped entirely for code that references no Fa name. */ export declare const FA_NAMES: string[];