Skip to content

Latest commit

 

History

History
79 lines (52 loc) · 2.13 KB

README_EN.md

File metadata and controls

79 lines (52 loc) · 2.13 KB

English | 中文

npm version Dependency Status devDependency Status

SaltUI is a set of React UI components cooperated with DingTalk, and developed for the purpose of providing a high-efficiency, simple but useful componentized solution fot the DingTalk ISV & other React developers.

FEATURE

  • A DingTalk native UI-like style.
  • Specialized components for DingTalk Native APIs.
  • 60+ components to suit most development cases.
  • maintained by Alibaba's professional design & development team, focus on the enterprise-class office scene.

Demo & Document

https://salt-ui.github.io/

Installation

$ npm install saltui --save

Usage

import js

import { Button } from 'saltui';
ReactDOM.render(<Button />, mountNode);

import js as required

  • use babel-plugin-import (recommanded)

    // .babelrc or babel-loader option
    {
      "plugins": [
        ["import", { libraryName: "saltui", camel2DashComponentName: false }]
      ]
    }
  • or, import manually

    import Button from 'saltui/lib/Button';

import style package

@import '~saltui/build/salt-ui.css';

Browser Support

  • iOS
  • Android 4.0+

React version support

  • 0.14.9+

Project Developing Tools

  1. We recommend Nowa as the project developing tools
  1. choose nowa-template-salt project template, and then Create
  2. click Start to start the project,and then open it in the browser.

License

This project is licensed under the terms of the MIT license