1.0.2 • Published 4 years ago

gallifrey-ui v1.0.2

Weekly downloads
1
License
MIT
Repository
gitlab
Last release
4 years ago

Choerodon UI

An enterprise-class UI design language and React-based implementation.

中文 README

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

  • Modern browsers and Internet Explorer 9+ (with polyfills)
  • Server-side Rendering
  • Electron

Install

npm install gallifrey-ui --save

Usage

import { DatePicker } from 'gallifrey-ui';
ReactDOM.render(<DatePicker />, mountNode);

And import style manually:

import 'gallifrey-ui/dist/gallifrey-ui.css';  // or 'gallifrey-ui/dist/gallifrey-ui.less'

Or import components on demand

TypeScript

See Used in TypeScript

Internationalization

See i18n.

Links

Local Development

$ git clone https://github.com/choerodon/gallifrey-ui.git
$ cd gallifrey-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 .