Skip to content

Commit

Permalink
Fixing issue#128 default Props error
Browse files Browse the repository at this point in the history
  • Loading branch information
AsjidAle authored Dec 1, 2024
1 parent eeec405 commit 6d6f6a7
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,17 +239,17 @@ StepWizard.propTypes = {
transitions: PropTypes.object,
};

StepWizard.defaultProps = {
children: [],
className: null,
initialStep: 1,
instance: () => {},
isHashEnabled: false,
isLazyMount: false,
nav: null,
onStepChange: () => {},
transitions: undefined,
};
// StepWizard.defaultProps = {
// children: [],
// className: null,
// initialStep: 1,
// instance: () => {},
// isHashEnabled: false,
// isLazyMount: false,
// nav: null,
// onStepChange: () => {},
// transitions: undefined,
// };

export const Step = ({
children,
Expand All @@ -269,8 +269,8 @@ if (process.env.NODE_ENV !== 'production') {
};
}

Step.defaultProps = {
children: [],
isActive: false,
transitions: '',
};
// Step.defaultProps = {
// children: [],
// isActive: false,
// transitions: '',
// };

0 comments on commit 6d6f6a7

Please sign in to comment.