mirror of https://github.com/embarklabs/embark.git
chore(browser): change Go to refresh since that's what they do
This commit is contained in:
parent
1ccc3e7796
commit
f2d6f609ba
|
@ -1,5 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import {Button, InputGroup, Input, InputGroupAddon} from 'reactstrap';
|
import {Button, InputGroup, Input, InputGroupAddon} from 'reactstrap';
|
||||||
|
import FontAwesome from 'react-fontawesome';
|
||||||
|
|
||||||
class Preview extends React.Component {
|
class Preview extends React.Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
|
@ -31,9 +32,11 @@ class Preview extends React.Component {
|
||||||
<InputGroup>
|
<InputGroup>
|
||||||
<Input placeholder="URL"
|
<Input placeholder="URL"
|
||||||
value={this.state.previewUrl}
|
value={this.state.previewUrl}
|
||||||
onChange={(e) => this.handlePreviewUrlChange(e)} />
|
onChange={(e) => this.handlePreviewUrlChange(e)}/>
|
||||||
<InputGroupAddon addonType="append">
|
<InputGroupAddon addonType="append">
|
||||||
<Button className="ml-auto" color="primary" onClick={(e) => this.handlePreviewGo(e)}>Go</Button>
|
<Button className="ml-auto" color="primary" onClick={(e) => this.handlePreviewGo(e)}>
|
||||||
|
<FontAwesome name="refresh"/>
|
||||||
|
</Button>
|
||||||
</InputGroupAddon>
|
</InputGroupAddon>
|
||||||
</InputGroup>
|
</InputGroup>
|
||||||
<iframe width="100%"
|
<iframe width="100%"
|
||||||
|
|
Loading…
Reference in New Issue