UNPKG
react-whitebox
Version:
latest (0.0.2)
0.0.2
0.0.1
A component to display your errors.
github.com/amannn/react-whitebox
amannn/react-whitebox
react-whitebox
/
examples
/
babel-plugin-react-hot
/
components
/
App.js
12 lines
(9 loc)
•
187 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
React
, {
Component
}
from
'react'
export
default
class
App
extends
Component
{
render
() {
return
<
div
>
{this.props()}
</
div
>
} }
if
(
module
.
hot
) {
module
.
hot
.
accept
() }