Refactor: removed default exports.
This commit is contained in:
1 parent
cd944e14ce
commit
f83a12d6cd
343 files changed
+555
-1046
No files matched your search
@@ -7,7 +7,7 @@ export interface PieChartProps extends ChartProps {
|
||||
type?: 'doughnut' | 'pie';
|
||||
}
|
||||
|
||||
export default function PieChart(props: PieChartProps) {
|
||||
export function PieChart(props: PieChartProps) {
|
||||
const [tooltip, setTooltip] = useState(null);
|
||||
const { type = 'pie' } = props;
|
||||
|
||||
|
||||
Reference in new issue
Block a user