0.6.5 • Published 6 years ago
choerodon-hap-ui v0.6.5
Choerodon UI
An enterprise-class UI design language and React-based implementation.
Features
- Extracted from the interactive language and visual style of enterprise-level medium and backstage products.
- A set of high-quality React components out of the box.
- Written in TypeScript with predictable static types.
- The whole package of development and design resources and tools.
Environment Support
Install
npm install choerodon-hap-ui --save
Usage
import { DatePicker } from 'choerodon-hap-ui';
ReactDOM.render(<DatePicker />, mountNode);
And import style manually:
import 'choerodon-hap-ui/dist/choerodon-hap-ui.css'; // or 'choerodon-hap-ui/dist/choerodon-hap-ui.less'
Or import components on demand
TypeScript
Internationalization
See i18n.
Links
Local Development
$ git clone https://github.com/choerodon/choerodon-hap-ui.git
$ cd choerodon-hap-ui
$ npm install
$ npm start
Open your browser and visit http://127.0.0.1:8001 , see more at https://github.com/ant-design/ant-design/wiki/Development .