mirror of https://github.com/kern/filepizza
Extract boostrapping into its own component.
parent
28d1b69b75
commit
07cafdb08b
@ -0,0 +1,12 @@
|
|||||||
|
import React from 'react'
|
||||||
|
|
||||||
|
export default class Bootstrap extends React.Component {
|
||||||
|
|
||||||
|
render() {
|
||||||
|
return <script
|
||||||
|
id="bootstrap"
|
||||||
|
type="application/json"
|
||||||
|
dangerouslySetInnerHTML={{ __html: this.props.data}} />
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue