2022-06-17 22:37:05 -04:00
|
|
|
import { mockPieData } from "data/mocks";
|
2022-06-03 01:31:07 -04:00
|
|
|
import React from "react";
|
|
|
|
|
2022-06-17 22:37:05 -04:00
|
|
|
import { PieChart } from "@/components/PieChart";
|
|
|
|
|
2022-06-03 01:31:07 -04:00
|
|
|
export default function Home() {
|
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<h1>Playground</h1>
|
|
|
|
<p>Show off your components here!</p>
|
2022-06-18 22:35:39 -04:00
|
|
|
<div style={{ padding: "30px" }}>
|
2022-06-18 22:55:05 -04:00
|
|
|
<PieChart data={mockPieData} width={800} labelWidth={200} />
|
2022-06-18 22:35:39 -04:00
|
|
|
</div>
|
2022-06-03 01:31:07 -04:00
|
|
|
</>
|
|
|
|
);
|
|
|
|
}
|