@lobehub/charts
Version:
React modern charts components built on recharts
27 lines • 718 B
JavaScript
import { Sector } from 'recharts';
import { jsx as _jsx } from "react/jsx-runtime";
export var renderInactiveShape = function renderInactiveShape(props) {
var cx = props.cx,
cy = props.cy,
innerRadius = props.innerRadius,
outerRadius = props.outerRadius,
startAngle = props.startAngle,
endAngle = props.endAngle,
className = props.className;
return /*#__PURE__*/_jsx("g", {
children: /*#__PURE__*/_jsx(Sector, {
className: className,
cx: cx,
cy: cy,
endAngle: endAngle,
fill: "",
innerRadius: innerRadius,
opacity: 0.3,
outerRadius: outerRadius,
startAngle: startAngle,
style: {
outline: 'none'
}
})
});
};