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