diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-09-21 15:20:41 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-09-21 22:07:55 +0900 |
commit | 063ceb215f858a8e2a5bde85d8f9ca24240894c6 (patch) | |
tree | 1d5f856885e072124d1d025808ee366e7add2ce1 /src/settings/components/form | |
parent | 5d82441ce3d12301bb8f04b78b79fffb04121a37 (diff) |
Separate input component
Diffstat (limited to 'src/settings/components/form')
-rw-r--r-- | src/settings/components/form/KeymapsForm.tsx | 5 |
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} |