From ee078c677bbb7756636898830f766465d426f68b Mon Sep 17 00:00:00 2001
From: Shin'ya Ueoka <ueokande@i-beam.org>
Date: Mon, 29 Apr 2019 15:47:42 +0900
Subject: Declare types on settings

---
 src/settings/components/form/KeymapsForm.jsx | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'src/settings/components/form/KeymapsForm.jsx')

diff --git a/src/settings/components/form/KeymapsForm.jsx b/src/settings/components/form/KeymapsForm.jsx
index 25a3710..f5444fc 100644
--- a/src/settings/components/form/KeymapsForm.jsx
+++ b/src/settings/components/form/KeymapsForm.jsx
@@ -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;
-- 
cgit v1.2.3

