Newlywed Party Monsters

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

    0.3.9 • 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.

    Keywords

    none

    Install

    npm i @microsoft/fast-react-wrapper

    DownloadsWeekly Downloads

    16,629

    Version

    0.3.9

    License

    MIT

    Unpacked Size

    1.02 MB

    Total Files

    18

    Last publish

    Collaborators

    • fastsvc
    • microsoft1es