eagle-ui是一款基于react开发的pc端UI组件库,目前主要用于apollo系统,它提供了常用的表单、布局、日历、弹窗等一系列符合apollo style的控件集合。
安装
$ bower install eagle-ui
$ npm install eagle-ui --save
如何在项目中引用
import {CalendarPanel,Input} from 'eagle-ui';
引入需要使用的组件之后在render函数中的调用方式如下:
<CalendarPanel defaultDate={this.state.defaultDate}
startDate="2015-11-11"
endDate="2017-12-1"
getValueCallback={::this.getvalue}>
<Input placeholder="请选择日期" style={{width:'150px'}} />
</CalendarPanel>
其他
推荐移动端React UI组件库 - Phoenix-ui
Github: https://github.com/future-team/phoenix-ui
Document: http://future-team.github.io/phoenix-ui/doc/index.html
Want to help make this project awesome? Check out our repo
GitHub