17 lines
379 B
TypeScript
17 lines
379 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>
|
|
<div style={{ padding: "30px" }}>
|
|
<PieChart data={mockPieData} width={800} labelWidth={200} />
|
|
</div>
|
|
</>
|
|
);
|
|
}
|