File tree Expand file tree Collapse file tree 4 files changed +253
-98
lines changed Expand file tree Collapse file tree 4 files changed +253
-98
lines changed Original file line number Diff line number Diff line change 48
48
"file-loader" : " ^1.1.6" ,
49
49
"lodash" : " ^4.17.4" ,
50
50
"node-sass" : " ^3.11.2" ,
51
- "react" : " ^15.3.2" ,
52
- "react-bootstrap" : " ^0.30.6" ,
53
- "react-dom" : " ^15.3.2" ,
54
- "react-markdown" : " ^2.4.2" ,
51
+ "react-markdown" : " ^3.2.0" ,
55
52
"sass-loader" : " ^6.0.6" ,
56
53
"style-loader" : " ^0.19.1" ,
57
54
"webpack" : " ^3.10.0" ,
Original file line number Diff line number Diff line change @@ -253,15 +253,17 @@ export default class ApiModule extends React.Component {
253
253
< Col md = { 8 } mdOffset = { 2 } >
254
254
{ this . renderMessageAlert ( ) }
255
255
< Panel className = { style . panel } header = "Settings" >
256
- { this . renderSaveButton ( ) }
257
- < div className = { style . settings } >
258
- { this . renderAccessToken ( ) }
259
- { this . renderLanguage ( ) }
260
- { this . renderMode ( ) }
261
- </ div >
256
+ < Panel . Body >
257
+ { this . renderSaveButton ( ) }
258
+ < div className = { style . settings } >
259
+ { this . renderAccessToken ( ) }
260
+ { this . renderLanguage ( ) }
261
+ { this . renderMode ( ) }
262
+ </ div >
263
+ < Panel . Body >
262
264
</ Panel >
263
265
< Panel header = "Documentation" >
264
- { this . renderExplication ( ) }
266
+ < Panel . Body > { this . renderExplication ( ) } </ Panel . Body >
265
267
</ Panel >
266
268
</ Col >
267
269
</ Row >
Original file line number Diff line number Diff line change @@ -45,6 +45,12 @@ var webConfig = {
45
45
libraryTarget : 'assign' ,
46
46
library : [ 'botpress' , pkg . name ]
47
47
} ,
48
+ externals : {
49
+ 'react' : 'React' ,
50
+ 'react-dom' : 'ReactDOM' ,
51
+ 'react-bootstrap' : 'ReactBootstrap' ,
52
+ 'prop-types' : 'PropTypes'
53
+ } ,
48
54
resolve : {
49
55
extensions : [ '.js' , '.jsx' ]
50
56
} ,
You can’t perform that action at this time.
0 commit comments