UNPKG
@baaz/adapter
Version:
latest (1.0.6)
1.0.6
1.0.5
1.0.4
1.0.3
The core runtime of PWA
github.com/dominicg666/baaz-adapter
dominicg666/baaz-adapter
@baaz/adapter
/
ContainerChild
/
containerChild.js
14 lines
(11 loc)
•
290 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import
{
Component
}
from
'react'
;
import
{ func,
string
}
from
'prop-types'
;
export
default
class
ContainerChild
extends
Component
{
static
propTypes = {
id
:
string
.
isRequired
,
render
: func.
isRequired
};
render
(
) {
return
this
.
props
.
render
(); } }