Continuing updating the reformatting of propTypes and set redux, intl functions to end of component
• Removing: - the reformatting of propTypes and set redux, intl functions to end of component
This commit is contained in:
@@ -2,17 +2,7 @@ import React from 'react'
|
||||
import PropTypes from 'prop-types'
|
||||
import Text from './text'
|
||||
|
||||
export default class Form extends React.PureComponent {
|
||||
|
||||
static propTypes = {
|
||||
children: PropTypes.any,
|
||||
errorMessage: PropTypes.string,
|
||||
onSubmit: PropTypes.func.isRequired,
|
||||
}
|
||||
|
||||
componentDidUpdate (prevProps) {
|
||||
|
||||
}
|
||||
class Form extends React.PureComponent {
|
||||
|
||||
render() {
|
||||
const {
|
||||
@@ -37,3 +27,11 @@ export default class Form extends React.PureComponent {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Form.propTypes = {
|
||||
children: PropTypes.any,
|
||||
errorMessage: PropTypes.string,
|
||||
onSubmit: PropTypes.func.isRequired,
|
||||
}
|
||||
|
||||
export default Form
|
||||
Reference in New Issue
Block a user