Skip to content

Commit

Permalink
docs: use correct import and export syntaxes on readme (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
ooker777 committed Apr 17, 2024
1 parent 3126538 commit 9215575
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ router page itself.
**/islands/chart.tsx**

```tsx
import { Chart as default } from "$fresh_charts/island.tsx";
import { Chart } from "$fresh_charts/island.tsx";
export default Chart;
```

**/routes/index.tsx**
Expand Down

0 comments on commit 9215575

Please sign in to comment.