Fluent-Windows
English | 简体中文
Installation
Install the package in your project directory with:
// with npm
npm install @fluent-windows/core
// with yarn
yarn add @fluent-windows/core
Usage
Here is a quick example to get you started.
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'));
Documentation
Check out our documentation website.
Changelog
Recently Updated? Please read the changelog.
Links
License
This project is licensed under the terms of the MIT license.