0.1.0 • Published 4 years ago

react-integrations v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

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