Skip to content

Latest commit

 

History

History
81 lines (57 loc) · 2.91 KB

README-zh_CN.md

File metadata and controls

81 lines (57 loc) · 2.91 KB

Fluent-Windows logo

Fluent-Windows

一套受 Microsoft's Fluent Design System 启发的 React 组件库。

npm CircleCI codecov GitHub Code style lerna

English | 简体中文

安装

使用以下命令安装在项目目录中:

// with npm
npm install @fluent-windows/core

// with yarn
yarn add @fluent-windows/core

用法

这是一个快速入门的示例。

import React from 'react';
import ReactDOM from 'react-dom';
import Button from '@fluent-windows/core/Button';
import ThemeProvider from '@fluent-windows/core/ThemeProvider';

function App() {
  return (
    <ThemeProvider>
      <Button variant="primary">
        Hello World
      </Button>
    </ThemeProvider>
  );
}

ReactDOM.render(<App />, document.querySelector('#root'));

Edit basic-demo

文档

查看我们的文档网站

更新日志

查看最近更新的内容请看 changelog.

链接

License

该项目遵循 MIT license.