META-INF.resources.js.components.EmptyPieChart.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.analytics.reports.web
Show all versions of com.liferay.analytics.reports.web
Liferay Analytics Reports Web
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
import PropTypes from 'prop-types';
import React from 'react';
import {Cell, Pie, PieChart} from 'recharts';
const EMPTY_PIE_CHART_FILL_COLOR = '#f1f2f5';
export default function EmptyPieChart({
height,
innerRadius,
outerRadius,
width,
}) {
return (
|
);
}
EmptyPieChart.propTypes = {
height: PropTypes.number.isRequired,
innerRadius: PropTypes.number.isRequired,
outerRadius: PropTypes.number.isRequired,
width: PropTypes.number.isRequired,
};