Skip to content

Commit

Permalink
[core] Sort prop asc (mui#12033)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored and thomasmoon committed Sep 6, 2024
1 parent 24d4f9b commit e711403
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
24 changes: 12 additions & 12 deletions packages/x-charts/src/PieChart/PieArc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,32 +61,32 @@ const PieArcRoot = styled(animated.path, {

export type PieArcProps = Omit<React.ComponentPropsWithoutRef<'path'>, 'id'> &
PieArcOwnerState & {
startAngle: SpringValue<number>;
cornerRadius: SpringValue<number>;
endAngle: SpringValue<number>;
highlightScope?: Partial<HighlightScope>;
innerRadius: SpringValue<number>;
onClick?: (event: React.MouseEvent<SVGPathElement, MouseEvent>) => void;
outerRadius: SpringValue<number>;
cornerRadius: SpringValue<number>;
paddingAngle: SpringValue<number>;
highlightScope?: Partial<HighlightScope>;
onClick?: (event: React.MouseEvent<SVGPathElement, MouseEvent>) => void;
startAngle: SpringValue<number>;
};

function PieArc(props: PieArcProps) {
const {
id,
dataIndex,
classes: innerClasses,
color,
cornerRadius,
dataIndex,
endAngle,
highlightScope,
onClick,
id,
innerRadius,
isFaded,
isHighlighted,
startAngle,
endAngle,
paddingAngle,
innerRadius,
onClick,
outerRadius,
cornerRadius,
paddingAngle,
startAngle,
...other
} = props;

Expand Down
22 changes: 11 additions & 11 deletions packages/x-charts/src/PieChart/PieArcLabelPlot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,21 +83,21 @@ export interface PieArcLabelPlotProps

function PieArcLabelPlot(props: PieArcLabelPlotProps) {
const {
slots,
slotProps,
innerRadius,
outerRadius,
arcLabel,
arcLabelMinAngle = 0,
arcLabelRadius,
cornerRadius = 0,
paddingAngle = 0,
id,
highlightScope,
highlighted,
faded = { additionalRadius: -5 },
data,
arcLabel,
arcLabelMinAngle = 0,
faded = { additionalRadius: -5 },
highlighted,
highlightScope,
id,
innerRadius,
outerRadius,
paddingAngle = 0,
skipAnimation,
slotProps,
slots,
...other
} = props;

Expand Down

0 comments on commit e711403

Please sign in to comment.