need to use static
This commit is contained in:
parent
e70a56c0d2
commit
f86690c81a
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ export class Form extends React.PureComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
export class FormRow extends React.PureComponent {
|
export class FormRow extends React.PureComponent {
|
||||||
propTypes = {
|
static propTypes = {
|
||||||
label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
||||||
errorMessage: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
errorMessage: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
||||||
// helper: PropTypes.html,
|
// helper: PropTypes.html,
|
||||||
|
|
Loading…
Reference in a new issue