Move to react

This commit is contained in:
Shin'ya Ueoka 2019-04-29 09:13:59 +09:00
parent 8773a4ec28
commit 55f15c9350
22 changed files with 58 additions and 56 deletions

View file

@ -1,5 +1,5 @@
import './keymaps-form.scss';
import { h, Component } from 'preact';
import React from 'react';
import Input from '../ui/input';
const KeyMapFields = [
@ -72,7 +72,7 @@ const KeyMapFields = [
const AllowdOps = [].concat(...KeyMapFields.map(group => group.map(e => e[0])));
class KeymapsForm extends Component {
class KeymapsForm extends React.Component {
render() {
let values = this.props.value;