【文件属性】:
文件名称:react-stopwatch:建立在React之上的Stopwatch组件
文件大小:1.24MB
文件格式:ZIP
更新时间:2021-05-13 14:31:38
react stopwatch react-stopwacth JavaScript
React秒表
建立在React之上的Stopwatch组件。
安装
首先,安装组件:
yarn add react-stopwatch
或者
npm install react-stopwatch --save
用法
import * as React from 'react' ;
import ReactStopwatch from 'react-stopwatch' ;
const Stopwatch = ( ) => (
< ReactStopwatch xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed> {
// do something
【文件预览】:
react-stopwatch-master
----.eslintrc(1014B)
----.flowconfig(254B)
----yarn.lock(438KB)
----src()
--------utils()
--------types()
--------__tests__()
--------index.js(3KB)
----.babelrc(165B)
----flow-typed()
--------npm()
----demo()
--------index.html(148B)
--------index.js(406B)
----media()
--------circle.gif(1.82MB)
--------square.gif(1.53MB)
----.travis.yml(296B)
----LICENSE(1KB)
----README.md(2KB)
----CONTRIBUTING.MD(213B)
----.gitignore(145B)
----CHANGELOG.md(489B)
----.eslintignore(33B)
----package.json(3KB)