File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { Button , InputGroup , Input , InputGroupAddon } from 'reactstrap' ;
3+ import FontAwesome from 'react-fontawesome' ;
34
45class Preview extends React . Component {
56 constructor ( props ) {
@@ -31,9 +32,11 @@ class Preview extends React.Component {
3132 < InputGroup >
3233 < Input placeholder = "URL"
3334 value = { this . state . previewUrl }
34- onChange = { ( e ) => this . handlePreviewUrlChange ( e ) } />
35+ onChange = { ( e ) => this . handlePreviewUrlChange ( e ) } />
3536 < InputGroupAddon addonType = "append" >
36- < Button className = "ml-auto" color = "primary" onClick = { ( e ) => this . handlePreviewGo ( e ) } > Go</ Button >
37+ < Button className = "ml-auto" color = "primary" onClick = { ( e ) => this . handlePreviewGo ( e ) } >
38+ < FontAwesome name = "refresh" />
39+ </ Button >
3740 </ InputGroupAddon >
3841 </ InputGroup >
3942 < iframe width = "100%"
You can’t perform that action at this time.
0 commit comments