@microsoft/fast-react-wrapper
TypeScript icon, indicating that this package has built-in type declarations

0.3.24 • Public • Published

FAST React Wrapper

License: MIT npm version

The fast-react-wrapper package contains a utility that enables automatically wrapping Web Components in a React component for ease of integration into React projects.

Installation

From NPM

To install the fast-react-wrapper library, use either npm or yarn as follows:

npm install --save @microsoft/fast-react-wrapper
yarn add @microsoft/fast-react-wrapper

Within your JavaScript or TypeScript code, you can then and use the wrapper like this:

import React from 'react';
import { provideReactWrapper } from '@microsoft/fast-react-wrapper';

const { wrap } = provideReactWrapper(React);

const MyComponent = wrap(MyComponent);

For additional wrapper settings and more information on integrating with Design Systems, see our integration docs.

Versions

Current Tags

Version History

Package Sidebar

Install

npm i @microsoft/fast-react-wrapper

Weekly Downloads

59,675

Version

0.3.24

License

MIT

Unpacked Size

1.04 MB

Total Files

18

Last publish

Collaborators

  • fastsvc
  • microsoft1es
  • eisenbergeffect
  • nirice
  • chrisdholt
  • awentzel