UNPKG
react-flip-clock
Version:
latest (1.0.4)
1.0.4
1.0.3
1.0.2
1.0.0
react 翻页时钟计时器插件
github.com/xiaxiangfeng/react-flip-clock
xiaxiangfeng/react-flip-clock
react-flip-clock
/
example
/
index.js
18 lines
(15 loc)
•
271 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import
React
from
'react'
import
{ render }
from
'react-dom'
import
Clock
from
'react-flip-clock'
// import Clock from '../lib/index.js'
const
Index
= (
) => {
return
(
<
div
>
<
Clock
/>
</
div
>
) }
render
(
<
Index
/>
,
document
.
getElementById
(
'app'
) )