GithubHelp home page GithubHelp logo

xishanwawa / react-ui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lobos/react-ui

0.0 1.0 0.0 6.13 MB

A collection of components for React.

Home Page: http://lobos.github.io/react-ui/

License: MIT License

JavaScript 90.50% CSS 9.50%

react-ui's Introduction

A collection of components for React. 文档 戳这里

使用

  • npm install
npm install rctui
var ReactUI = require('rctui')
var Form = ReactUI.Form
...
// 或者单独使用一个组件
var Input = require('rctui/Input')
var CheckboxGroup = require('rctui/CheckboxGroup')
var FormControl = require('rctui/FormControl')

build

使用 webpack 打包,可以修改 'src/index.js' 自定义需要的组件。

build: npm run build

Components

目前完成的组件,后续应该会不断加入新的组件

Change log

v0.5.2

  • babel 5 => 6,移除es7的语法
  • 移除在线build(木有精力维护了……)
  • getGrid 改为utils下的方法,不再使用highorder component
  • 增加Grid文档

v0.5.1

  • Pagination 增加mini选项

v0.5.0

  • 修复bugs
  • react版本改为0.14.0

v0.4.0

  • 结构重新调整
  • 拆分Lang

v0.3.5

  • css 去除 local,使用 rct- 前缀
  • 加入 Upload

v0.3.4

  • 加入Modal
  • Message 改为动态创建

v0.3.3

  • Table, Tree的checkAble属性改为selectAble
  • 加入 Filter

v0.3.1

  • 加入Table
  • dataSource改为promise方式

v0.3.0

  • Component全部改为es6形式
  • grids的css改用js动态生成
  • 剥离需要服务端数据的Component内置ajax调用,改用dataSource实现
  • 移除全部Mixins,使用Higher Order

v0.2.3

v0.2.2

  • 使用webpack打包,减少体积,去除了 Refluxsuperagent 依赖。
  • 放弃bootstrap,使用yahoo/pure。
  • 在webpack中使用了babel-loader,所以用了部分es6语法,参考 babel 的文档,没有使用需要 polyfill 支持的部分(因为需要额外引入45KB左右的 polyfill 包)。不要忘记在页面中加入 es5-shim 引用。

react-ui's People

Contributors

lobos avatar p2227 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.