Reduce corner

This commit is contained in:
Jared He 2022-06-18 20:55:04 -04:00
parent 7083f8109d
commit ea6e2d4c7a
2 changed files with 2 additions and 1 deletions

View File

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

View File

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