百度 React 组件库
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
category-home
components
doc
output/static
scripts
server
src
style
test
typings-module
typings
.babelrc
.eslintrc.yml
.gitignore
.travis.yml
all-component.json
app.conf
config.js
html.js
package.json
readme.md
test.js
tsconfig.json
tsd.json

readme.md

Build Status Coverage Status

FIT 百度React组件库

fit.baidu.com

特性

  • react + redux + fis3&webpack
  • typescript源码
  • sass模块化
  • 支持后端渲染

安装

$ npm install fit-[components]

用例

import Timeago from 'fit-timeago'
ReactDOM.render(<Timeago date={new Date()}/>, reactNode)

样式是内置的,无需额外引用

兼容性

IE9+

链接

后记

组件库已基本稳定,少有维护,沉淀出的组件库维护经验:https://github.com/ascoders/blog/issues/5