react-integrations
v0.1.0
Published
A React library to help integrate Vanilla JS libraries to your app
Downloads
11
Maintainers
Readme
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