@opensign/react
v1.0.0
Published
This package helps you easily integrate OpenSign into your React/NextJS apps.
Downloads
15
Maintainers
Readme
This package helps you easily integrate OpenSign into your React/NextJS apps.
Installation
npm install @opensign/react
Usage
Create public template from https://www.opensignlabs.com
import React from "react";
import Opensign from "@opensign/react";
export function App() {
return (
<div className="app">
<Opensign
onLoad={() => console.log("success")}
onLoadError={(error) => console.log(error)}
templateId="#templateid"
/>
</div>
);
}
Demo
License
MIT