react-stint:lib 创建时间线

时间:2024-07-10 01:06:32
【文件属性】:

文件名称:react-stint:lib 创建时间线

文件大小:12KB

文件格式:ZIP

更新时间:2024-07-10 01:06:32

JavaScript

React时间 一个端口。 使用 JavaScript 创建简单的时间线。 安装 可通过 cjs(browserify 或 webpack)获得。 使用 npm 安装: npm install react-stint 用法 在你的代码中要求它,提供你的数据,并渲染到页面: var React = require ( 'react' ) ; var Timesheet = require ( 'react-stint' ) ; var data = [ [ "2002" , "09/2002" , "A freaking awesome time" , "lorem" ] , [ "06/2002" , "09/2003" , "Some great memories" , "ipsum" ] , [ "2003" , "Had very bad luck" ] ,


【文件预览】:
react-stint-master
----package.json(1KB)
----test()
--------unit()
----examples()
--------index.html(3KB)
--------default()
----LICENSE.md(1KB)
----.gitignore(27B)
----webpack.config.js(945B)
----CHANGELOG.md(165B)
----lib()
--------bubble.js(2KB)
--------date.js(403B)
--------data.js(453B)
--------timesheet.js(2KB)
----karma.conf.js(870B)
----README.md(1KB)
----scripts()
--------dev-examples.sh(81B)

网友评论