aboutsummaryrefslogtreecommitdiff
path: root/src/settings/components/form
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2020-09-21 15:20:41 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2020-09-21 22:07:55 +0900
commit063ceb215f858a8e2a5bde85d8f9ca24240894c6 (patch)
tree1d5f856885e072124d1d025808ee366e7add2ce1 /src/settings/components/form
parent5d82441ce3d12301bb8f04b78b79fffb04121a37 (diff)
Separate input component
Diffstat (limited to 'src/settings/components/form')
-rw-r--r--src/settings/components/form/KeymapsForm.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/settings/components/form/KeymapsForm.tsx b/src/settings/components/form/KeymapsForm.tsx
index b9af0df..25578ad 100644
--- a/src/settings/components/form/KeymapsForm.tsx
+++ b/src/settings/components/form/KeymapsForm.tsx
@@ -1,6 +1,6 @@
import "./KeymapsForm.scss";
import React from "react";
-import Input from "../ui/Input";
+import Text from "../ui/Text";
import keymaps from "../../keymaps";
import { FormKeymaps } from "../../../shared/SettingData";
@@ -27,8 +27,7 @@ class KeymapsForm extends React.Component<Props> {
{group.map(([name, label]) => {
const value = values[name] || "";
return (
- <Input
- type="text"
+ <Text
id={name}
name={name}
key={name}