Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

react-integrations

0.1.0 • Public • Published

React Integrations

npm travis code coverage downloads/month pullrequest firsttimersonly

Installation

yarn add react-integrations
  • It's quite small in size.
  • It's built with TypeScript.

Usage

import ReactIntegrations from 'react-integrations';
 
const App = () => {
    const handleMonoLoaded = () => {
        const connect = new window.Connect('YOUR CONNECT PUBLIC KEY', options);
        connect.setup();
    };
 
    return (
        <ReactIntegrations
            scriptSrc="https://connect.withmono.com/connect.js"
            scriptId="mono-script"
            onLoaded={handleMonoLoaded}
        ></ReactIntegrations>
    );
};

LICENSE

MIT

Install

npm i react-integrations

DownloadsWeekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

9.55 kB

Total Files

10

Last publish

Collaborators

  • avatar