diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2019-04-29 09:13:59 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2019-04-29 09:13:59 +0900 |
commit | 55f15c9350cc531324e6182895f494eeb8174bc6 (patch) | |
tree | f7fc53993ba3c0b44717072599d1cb14a2faaceb /src/settings/components/ui/input.jsx | |
parent | 8773a4ec2891f1ec7bdaf5453eb522ab697606ef (diff) |
Move to react
Diffstat (limited to 'src/settings/components/ui/input.jsx')
-rw-r--r-- | src/settings/components/ui/input.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings/components/ui/input.jsx b/src/settings/components/ui/input.jsx index e99dbc7..2f42b62 100644 --- a/src/settings/components/ui/input.jsx +++ b/src/settings/components/ui/input.jsx @@ -1,7 +1,7 @@ -import { h, Component } from 'preact'; +import React from 'react'; import './input.scss'; -class Input extends Component { +class Input extends React.Component { renderText(props) { let inputClassName = props.error ? 'input-error' : ''; |