Fixed linter errors.

pull/64/head
Akshay Joshi 2021-12-22 14:44:57 +05:30
parent ae73f13812
commit ebee7a5b72
2 changed files with 12 additions and 10 deletions

View File

@ -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,
};

View File

@ -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}
</>
);
})
}
</>
);
}