From ee55f34a72160551a2f4df22524a89f3543865a4 Mon Sep 17 00:00:00 2001 From: fang Date: Tue, 10 Nov 2020 00:45:08 +0100 Subject: [PATCH] webterm: update input to use indigo components --- .../src/views/apps/term/components/input.js | 45 +++++++++---------- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/pkg/interface/src/views/apps/term/components/input.js b/pkg/interface/src/views/apps/term/components/input.js index 9de8b6b2e..791b032fa 100644 --- a/pkg/interface/src/views/apps/term/components/input.js +++ b/pkg/interface/src/views/apps/term/components/input.js @@ -1,4 +1,5 @@ import React, { Component } from 'react'; +import { Row, Box, BaseInput } from '@tlon/indigo-react'; import { cite } from '~/logic/lib/util'; import { Spinner } from '~/views/components/Spinner'; @@ -82,29 +83,27 @@ export class Input extends Component { } } return ( -
-
- - {this.props.prompt} - - -
+ + + + + ); } }