Code review fixes
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
28a39696db
commit
321a455d02
|
@ -9,27 +9,27 @@ interface PieChartProps {
|
|||
data: PieChartData[];
|
||||
/** Width of the entire graph, including labels, in pixels. */
|
||||
width: number;
|
||||
/** Width of the outer ring of labels, in pixels. */
|
||||
/** Width of the outer ring of labels, in pixels. Label text may be cut off if specified value is too small. */
|
||||
labelWidth: number;
|
||||
/** Distance between pie slices, in pixels */
|
||||
/** Distance between pie slices, in pixels. */
|
||||
padRadius?: number;
|
||||
/** Distance of gap in center of pie graph, in pixels */
|
||||
/** Distance of gap in center of pie graph, in pixels. */
|
||||
innerRadius?: number;
|
||||
/** Font size of text inside the pie, in pixels*/
|
||||
/** Font size of text inside the pie, in pixels. */
|
||||
pieTextSize?: number;
|
||||
/** X-axis offset of the pie text, in pixels */
|
||||
/** X-axis offset of the pie text, in pixels. */
|
||||
pieTextXOffset?: number;
|
||||
/** Y-axis offset of the pie text, in pixels */
|
||||
/** Y-axis offset of the pie text, in pixels. */
|
||||
pieTextYOffset?: number;
|
||||
/** Accessor function to get value to display as pie text from datum */
|
||||
/** Accessor function to get value to display as pie text from datum. */
|
||||
getPieDisplayValueFromDatum?: (datum: PieChartData) => string;
|
||||
/** Font size of labels outside the pie, in pixels */
|
||||
/** Font size of labels outside the pie, in pixels. */
|
||||
labelTextSize?: number;
|
||||
/** X-axis offset of the label text, in pixels */
|
||||
/** X-axis offset of the label text, in pixels. */
|
||||
labelTextXOffset?: number;
|
||||
/** Y-axis offset of the label text, in pixels */
|
||||
/** Y-axis offset of the label text, in pixels. */
|
||||
labelTextYOffset?: number;
|
||||
/** Accessor function to get value to display as label text from datum */
|
||||
/** Accessor function to get value to display as label text from datum. */
|
||||
getLabelDisplayValueFromDatum?: (datum: PieChartData) => string;
|
||||
className?: string;
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ export default function Home() {
|
|||
return (
|
||||
<div className={styles.page}>
|
||||
<h1>Playground</h1>
|
||||
<p>Show off your components here!</p>``
|
||||
<p>Show off your components here!</p>
|
||||
<h2>
|
||||
<code>{"<PieChart />"}</code>
|
||||
</h2>
|
||||
|
|
Loading…
Reference in New Issue