20 lines
416 B
TypeScript
20 lines
416 B
TypeScript
import { mockPieData } from "data/mocks";
|
|
import React from "react";
|
|
|
|
import { PieChart } from "@/components/PieChart";
|
|
|
|
export default function Home() {
|
|
return (
|
|
<>
|
|
<h1>Playground</h1>
|
|
<p>Show off your components here!</p>
|
|
<PieChart
|
|
data={mockPieData}
|
|
width={500}
|
|
height={500}
|
|
margin={{ top: 100, left: 100, bottom: 100, right: 100 }}
|
|
/>
|
|
</>
|
|
);
|
|
}
|