Fix import statements (#1922)

This commit is contained in:
Chaoying
2024-02-25 19:04:23 +01:00
committed by GitHub
parent f297765a13
commit ca4a38ba85
+2 -1
View File
@@ -83,7 +83,8 @@ Example with React suspense:
```tsx
import React, { lazy, Suspense } from 'react';
import { dynamicIconImports, LucideProps } from 'lucide-react';
import { LucideProps } from 'lucide-react';
import dynamicIconImports from 'lucide-react/dynamicIconImports';
const fallback = <div style={{ background: '#ddd', width: 24, height: 24 }}/>