mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-09 06:55:07 +00:00
18 lines
581 B
TypeScript
18 lines
581 B
TypeScript
import { ChartAreaDemo } from "@/components/chart-area-demo"
|
|
import { ChartBarDemo } from "@/components/chart-bar-demo"
|
|
import { ChartLineDemo } from "@/components/chart-line-demo"
|
|
import { ChartBarMixed } from "@/registry/new-york-v4/charts/chart-bar-mixed"
|
|
|
|
export function ChartDemo() {
|
|
return (
|
|
<div className="grid w-full max-w-screen-2xl gap-4 *:data-[slot=card]:flex-1 @2xl:grid-cols-2 @6xl:grid-cols-3">
|
|
<ChartAreaDemo />
|
|
<ChartBarDemo />
|
|
<ChartBarMixed />
|
|
<div className="@6xl:hidden">
|
|
<ChartLineDemo />
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|