UNPKG

unicorn-ui

Version:

This is a used to develop the background management system based on the react to develop a set of UI framework

61 lines (48 loc) 1.16 kB
# unicorn-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 unicorn-ui --save ``` ## Usage ``` //Three methods introduced //var unicorn_ui = require('unicorn-ui'); import {Panel,PanelContent,Grid,Row,Col,CalendarPanel} from 'unicorn-ui'; //import * as Unicornui from 'unicorn-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 ## Examples Download dependent package installation bower, start the server, static access unicorn-ui examples directory file to view the demo ``` $ cd unicorn-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 ```