Components
Loading preview...
Here is Area chart small sized component
npx shadcn@latest add https://21st.dev/r/reaviz/area-chartimport { useState } from "react";
import { Component } from "@/components/ui/area-chart";
import { cn } from "@/lib/utils";
const IncidentReportCardSmallDemo = () => {
const isDarkMode = true;
return (
<div
className={cn(
"flex flex-col w-full min-h-screen justify-center items-center p-4 transition-colors duration-300",
isDarkMode ? "dark bg-gray-900" : "bg-gray-100"
)}
>
<Component isDarkMode={isDarkMode} />
</div>
);
};
export { IncidentReportCardSmallDemo };