A react-native component library that implements the Fluent Design System.
Перейти к файлу
REDMOND\krsiler e913c95440 restore files that should have been unchanged 2020-04-13 11:48:52 -07:00
.ado update release build 2020-03-28 23:32:55 -07:00
.vscode Make breakpoints work when doing direct debugging (#142) 2020-03-30 09:03:03 -07:00
apps Merge branch 'master' into fluent-variant-support 2020-04-13 11:00:20 -07:00
change Merge master 2020-04-13 10:34:13 -07:00
docs restore files that should have been unchanged 2020-04-13 11:48:52 -07:00
packages restore files that should have been unchanged 2020-04-13 11:48:52 -07:00
scripts Merge master 2020-04-13 10:34:13 -07:00
.dockerignore Initial scaffolding (#1) 2019-08-02 09:28:49 -07:00
.eslintignore Initial scaffolding (#1) 2019-08-02 09:28:49 -07:00
.eslintrc.json Add Android button to expo playground 2019-12-17 14:15:46 -08:00
.gitignore Merge master 2020-04-13 10:34:13 -07:00
CODE_OF_CONDUCT.md Initial commit 2019-07-10 13:27:23 -07:00
LICENSE Initial commit 2019-07-10 13:27:25 -07:00
README.md FHL documentation updates to root readme, fluent tester readme, and getting started. (#148) 2020-04-09 10:12:57 -07:00
api-extractor.json Move api-extractor and tsconfig to shared folder 2020-03-25 13:23:14 -07:00
lerna.json Bundling, jest improvements, adding windows tester (#145) 2020-04-03 13:21:30 -07:00
package.json Merge master 2020-04-13 10:34:13 -07:00
prettier.config.js Initial scaffolding (#1) 2019-08-02 09:28:49 -07:00
tsconfig.json Move api-extractor and tsconfig to shared folder 2020-03-25 13:23:14 -07:00
yarn.lock Merge master 2020-04-13 10:34:13 -07:00

README.md

FluentUI React Native

FluentUI React Native is a javascript component library that provides developers with controls that are part of the Fluent Design System. These controls are built on React Native and fully customizable.

Getting Started

If you have an existing React Native project, it's easy to begin using FluentUI React Native. If you need to setup a new React Native project, please see the React Native Windows Getting Started documentation.

Prerequisites

Install FluentUI React Native into an existing project

Navigate to the root folder of your project, and use npm to install the package:

 npm i @fluentui/react-native

After successful installation, you can test the package by importing components at the top of your app's entry file, e.g. App.js:

 import { Checkbox } from '@fluentui/react-native';

Once you have the package installed, check out our Hello World Fluent page to start writing code (Coming Soon).

Developing in the repo

Yarn + Lerna

This repo is set up as a monorepo using Lerna + Yarn workspaces. The yarn commands will trigger the lerna commands which will execute yarn commands in each package. To install yarn, please follow instructions in the Yarn documentation.

Setup your development environment

To start developing in the repository you can:

  1. git clone https://github.com/microsoft/fluentui-react-native.git
  2. cd fluentui-react-native
  3. yarn
  4. yarn build

After a successful yarn build, you can explore FluentUI Tester, our demo application to play with each of the controls. To run FluentUI Tester, please follow instructions in the FluentUI Tester readme.

Beachball

This repo manages semantic versioning and publishing using Beachball. When contributing, make sure to run the following before making a pull request:

  1. yarn change will take you through a command line wizard to generate change files
  2. Make sure to commit and push the newly generated change file

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.