Declare types on settings
This commit is contained in:
parent
be900aa25c
commit
ee078c677b
5 changed files with 36 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
import './PropertiesForm.scss';
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
class PropertiesForm extends React.Component {
|
||||
|
||||
|
@ -57,4 +58,9 @@ class PropertiesForm extends React.Component {
|
|||
}
|
||||
}
|
||||
|
||||
PropertiesForm.propTypes = {
|
||||
value: PropTypes.objectOf(PropTypes.any),
|
||||
onChange: PropTypes.func,
|
||||
};
|
||||
|
||||
export default PropertiesForm;
|
||||
|
|
Reference in a new issue