Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
acharyakavita committed Dec 2, 2023
1 parent e35f9be commit 0b12814
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/victory-area/src/area.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,18 +92,18 @@ const evaluateProps = (props: AreaProps) => {
return assign({}, props, { ariaLabel, desc, id, style, tabIndex });
};

const defaultProps={
const defaultProps = {
groupComponent: <g />,
pathComponent: <Path />,
role: "presentation",
shapeRendering: "auto",
}
};

/**
* The area primitive used by VictoryArea
*/
export const Area: React.FC<AreaProps> = (props) => {
props = evaluateProps({...defaultProps,...props});
props = evaluateProps({ ...defaultProps, ...props });
const {
ariaLabel,
role,
Expand Down

0 comments on commit 0b12814

Please sign in to comment.