Skip to content

Latest commit

 

History

History
108 lines (75 loc) · 4.05 KB

README-zh_CN.md

File metadata and controls

108 lines (75 loc) · 4.05 KB

English | 简体中文

react-router

一个更加『轻量』和『快速』的基于React的桌面端组件库

特性

  • 精巧且友好的 API
  • 开箱即用的高性能 React 组件
  • 接口永远向下兼容
  • 灵活的主题配置

依赖

react >= 16.0.0
react-dom >= 16.0.0

浏览器支持

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
Electron
Electron
IE10, IE11, Edge last 2 versions last 2 versions last 2 versions last 2 versions last 2 versions

示例

安装

yarn add shineout

// or

npm install shineout

CDN

<link rel="stylesheet" href="https://unpkg.com/shineout/dist/theme.default.css" />
<script crossorigin src="https://unpkg.com/shineout/dist/shineout.min.js"></script>

使用

import { Button } from 'shineout'

<Button />

引入 css

import 'shineout/dist/theme.default.css' // or 'shineout/dist/theme.antd.css'

国际化

文档地址 i18n

链接

开发

本地克隆:

$ git clone git@github.com:sheinsight/shineout.git
$ cd shineout
$ yarn
$ yarn start

访问 http://localhost:3000

开源许可

MIT