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 {Button, InputGroup, Input, InputGroupAddon} from 'reactstrap';
|
||||
import FontAwesome from 'react-fontawesome';
|
||||
|
||||
class Preview extends React.Component {
|
||||
constructor(props) {
|
||||
|
@ -31,9 +32,11 @@ class Preview extends React.Component {
|
|||
<InputGroup>
|
||||
<Input placeholder="URL"
|
||||
value={this.state.previewUrl}
|
||||
onChange={(e) => this.handlePreviewUrlChange(e)} />
|
||||
onChange={(e) => this.handlePreviewUrlChange(e)}/>
|
||||
<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>
|
||||
</InputGroup>
|
||||
<iframe width="100%"
|
||||
|
|
Loading…
Reference in New Issue