From c8ad3c26d267d3d1e052d0d4899c0af28967fd31 Mon Sep 17 00:00:00 2001 From: shadcn Date: Sat, 6 Jul 2024 01:14:23 +0400 Subject: [PATCH] docs: charts --- apps/www/content/docs/components/chart.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/www/content/docs/components/chart.mdx b/apps/www/content/docs/components/chart.mdx index e60941ed0a4..410039b7450 100644 --- a/apps/www/content/docs/components/chart.mdx +++ b/apps/www/content/docs/components/chart.mdx @@ -47,7 +47,7 @@ We do not wrap Recharts. This means you're not locked into an abstraction. When -**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. @@ -103,7 +103,7 @@ npx shadcn-ui@latest add chart npm install recharts ``` -Copy and paste the following code into your project. +Copy and paste the following code into `components/ui/chart.tsx`.