Skip to content

Commit 61d5e9f

Browse files
authored
WizardStep - hide private props by using defaultProps (#1507)
1 parent d3576c7 commit 61d5e9f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/wizard/WizardStep.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ interface Props extends WizardStepProps, Omit<WizardProps, 'onActiveIndexChanged
2828
*/
2929
class WizardStep extends Component<Props> {
3030
static displayName = 'Wizard.Step';
31+
static defaultProps = {
32+
index: 0,
33+
maxWidth: 0
34+
};
3135

3236
getProps() {
3337
const props = this.props;

0 commit comments

Comments
 (0)