@microsoft/fast-components-react-msft

FAST Microsoft components implemented in React

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@microsoft/fast-components-react-msft
104.32.02 years ago4 years agoMinified + gzip package size for @microsoft/fast-components-react-msft in KB

Readme

FAST Components React MSFT
A set of React components which implements the Microsoft styling.

Installation

npm i --save @microsoft/fast-components-react-msft

Usage

An example of using one of the components from the @microsoft/fast-components-react-msft package:
import React from "react";
import ReactDOM from "react-dom";
import { Button, ButtonAppearance } from "@microsoft/fast-components-react-msft";

const root = document.createElement("div");
root.setAttribute("id", "root");
document.body.appendChild(root);

function render(): void {
    ReactDOM.render(
        <Button appearance={ButtonAppearance.primary}>
            Click me!
        </Button>,
        root
    );
}

render();

Documentation site

FAST Components React Microsoft