Skip to content

Commit

Permalink
Fix import statements (#1922)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaoyingz authored Feb 25, 2024
1 parent f297765 commit ca4a38b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/lucide-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}/>

Expand Down

0 comments on commit ca4a38b

Please sign in to comment.