Skip to content

Commit

Permalink
docs: charts
Browse files Browse the repository at this point in the history
  • Loading branch information
shadcn committed Jul 5, 2024
1 parent 10fda13 commit c8ad3c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/www/content/docs/components/chart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ We do not wrap Recharts. This means you're not locked into an abstraction. When

<Callout className="mt-4">

**Note:** If you are trying to use charts with **React 19** or the **Next.js 15**, support has not yet landed. We'll post an update when it does.
**Note:** If you are trying to use charts with **React 19** or the **Next.js 15**, you will need the [recharts@alpha](https://github.com/recharts/recharts/releases/tag/v2.13.0-alpha.4) release currently.

</Callout>

Expand Down Expand Up @@ -103,7 +103,7 @@ npx shadcn-ui@latest add chart
npm install recharts
```

<Step>Copy and paste the following code into your project.</Step>
<Step>Copy and paste the following code into `components/ui/chart.tsx`.</Step>

<ComponentSource name="chart" />

Expand Down

0 comments on commit c8ad3c2

Please sign in to comment.