PieChart
constPieChart: (props) =>ReactElement
Defined in: react/components/data/chart.tsx:120
A proportional breakdown drawn as a 100%-stacked horizontal bar with a percentage legend — the terminal-friendly stand-in for a pie chart, crisp at any width.
<PieChart items={[{ label: "used", value: 70 }, { label: "free", value: 30 }]} />Parameters
Section titled “Parameters”Returns
Section titled “Returns”ReactElement