mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-11-16 14:18:29 +00:00
Move dynamicImportFile to dedicated file (#1440)
* test this * Fixes dynamicImportsMap and types
This commit is contained in:
@@ -138,7 +138,8 @@ In NextJS [the dynamic function](https://nextjs.org/docs/pages/building-your-app
|
||||
|
||||
```tsx
|
||||
import dynamic from 'next/dynamic'
|
||||
import { dynamicIconImports, LucideProps } from 'lucide-react';
|
||||
import { LucideProps } from 'lucide-react';
|
||||
import dynamicIconImports from 'lucide-react/dynamicIconImports';
|
||||
|
||||
interface IconProps extends LucideProps {
|
||||
name: keyof typeof dynamicIconImports;
|
||||
|
||||
Reference in New Issue
Block a user