linting and proptypes

This commit is contained in:
Belen Curcio
2017-02-01 12:12:28 -03:00
parent 12070309d6
commit caa04de09d
+2 -2
View File
@@ -1,7 +1,7 @@
import React, {PropTypes} from 'react';
const Wizard = (props) => {
const {children, currentStep, nextStep, previousStep, goToStep, className = ''} = props;
const {children, currentStep, nextStep, previousStep, goToStep} = props;
return (
<section>
{React.Children.toArray(children)
@@ -24,6 +24,6 @@ Wizard.propTypes = {
nextStep: PropTypes.func.isRequired,
previousStep: PropTypes.func.isRequired,
goToStep: PropTypes.func.isRequired
}
};
export default Wizard;