eagle-ui
Version:
This is a used to develop the background management system based on the react to develop a set of UI framework
70 lines (56 loc) • 1.93 kB
Markdown
# eagle-ui
This is a used to develop the background management system based on the react to develop a set of UI framework.
## Install
```
$ npm install eagle-ui --save
```
## Usage
```
S//Three methods introduced
//var eagle_ui = require('eagle-ui');
import {Panel,PanelContent,Grid,Row,Col,CalendarPanel} from 'eagle-ui';
//import * as Eagleui from 'eagle-ui';
//react
<Panel>
<PanelContent>
<Grid>
<Row>
<Col sm={2}>
日历:
</Col>
<Col sm={10} end>
<CalendarPanel startDate="2015-11-11">
<input placeholder="请选择日期" style={{width:'150px'}} />
</CalendarPanel>
</Col>
</Row>
</Grid>
</PanelContent>
</Panel>
```
## Documentation
Open the project in the doc directory index can refer to or link to [http://future-team.github.io/eagle-ui/doc/index.html](http://future-team.github.io/eagle-ui/doc/index.html)
## Examples
Download dependent package installation bower, start the server, static access eagle - UI examples directory file to view the demo; or link to [http://future-team.github.io/eagle-ui/examples/index.html](http://future-team.github.io/eagle-ui/examples/index.html)
```
$ cd eagle-ui
$ npm install bower -g
$ npm install anywhere -g
$ bower install
$ anywhere
```
## Command
```
$ npm run demo
$ npm run build
$ npm run doc
$ npm run test
```
## Repair
`version 1.1.1` 新增dialog.mask支持style和class属性
`version 1.4.3` 新增textarea默认样式
`version 1.4.4` 修复validatepanel控件在提交后刷新页面的bug
`version 1.4.5` 修复表单验证无法更改为其他标签的bug
`version 1.4.7` 日历、input回滚到1.3.7版本逻辑
`version 3.0.1` 修复dialog无法更新表单元素值bug
`version 4.0.3` 新增dialog中prompt方法