UNPKG
hovertile
Version:
latest (0.1.2)
0.1.2
0.1.1
0.1.0
A port of Mary Lou's hover tiles to React
github.com/LookLikeAPro/HoverTiles
LookLikeAPro/HoverTiles
hovertile
/
Background.jsx
12 lines
(10 loc)
•
267 B
JSX
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
React
, {
Component
,
PropTypes
}
from
"react"
;
export
default
class
Background
extends
Component
{
static
propTypes = {
children
:
PropTypes
.
node
};
static
ref =
"TileBackground"
;
render
(
) {
return
(
<
div
{
...this.props
}>
{this.props.children}
</
div
>
); } }