From dbf540074d61008607c26ccc40ca30d4c3253f2b Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Sun, 24 Feb 2019 04:28:42 +0000 Subject: [PATCH 1/3] replace text Inputs in Devtools with Field bcuz prettier Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- .../views/dialogs/DevtoolsDialog.js | 28 ++++++------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/src/components/views/dialogs/DevtoolsDialog.js b/src/components/views/dialogs/DevtoolsDialog.js index ea198461c5..ff118792fb 100644 --- a/src/components/views/dialogs/DevtoolsDialog.js +++ b/src/components/views/dialogs/DevtoolsDialog.js @@ -20,6 +20,7 @@ import sdk from '../../../index'; import SyntaxHighlight from '../elements/SyntaxHighlight'; import { _t } from '../../../languageHandler'; import MatrixClientPeg from '../../../MatrixClientPeg'; +import Field from "../elements/Field"; class DevtoolsComponent extends React.Component { static contextTypes = { @@ -56,14 +57,8 @@ class GenericEditor extends DevtoolsComponent { } textInput(id, label) { - return
-
- -
-
- -
-
; + return ; } } @@ -138,12 +133,9 @@ class SendCustomEvent extends GenericEditor {
-
- -
-
-