Reduce corner

pull/19/head
Jared He 9 months ago
parent 7083f8109d
commit ea6e2d4c7a
  1. 1
      components/PieChart.module.css
  2. 2
      components/PieChart.tsx

@ -5,6 +5,7 @@
.text {
display: none;
fill: white;
font-weight: 800;
}
.group:hover>.path {

@ -31,7 +31,7 @@ export function PieChart(props: PieChartProps) {
fill="aqua"
pieValue={(d: PieChartData) => d.value}
outerRadius={100}
cornerRadius={3}
cornerRadius={5}
padAngle={0.1}
>
{(pie) => <PieSlice {...pie} />}

Loading…
Cancel
Save