Fixed linter errors.
parent
ae73f13812
commit
ebee7a5b72
|
@ -217,5 +217,7 @@ Wizard.propTypes = {
|
|||
stepPanelCss: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
||||
rootClass: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
||||
children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]),
|
||||
disableDialogHelp: PropTypes.bool
|
||||
disableDialogHelp: PropTypes.bool,
|
||||
beforeNext: PropTypes.func,
|
||||
beforeBack: PropTypes.func,
|
||||
};
|
||||
|
|
|
@ -11,15 +11,15 @@ import React from 'react';
|
|||
import PropTypes from 'prop-types';
|
||||
export default function WizardStep({ ...props }) {
|
||||
return (
|
||||
<> {
|
||||
React.Children.map(props.children, (child) => {
|
||||
return (
|
||||
<>
|
||||
{child}
|
||||
</>
|
||||
);
|
||||
})
|
||||
}
|
||||
<> {
|
||||
React.Children.map(props.children, (child) => {
|
||||
return (
|
||||
<>
|
||||
{child}
|
||||
</>
|
||||
);
|
||||
})
|
||||
}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue