1.0.9 • Published 1 year ago

@integrationos/embed-react v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

embed-react

React hook and components for integrating with IntegrationOS Embed.

Install

With npm:

npm i @integrationos/embed-react

With yarn:

yarn add @integrationos/embed-react

Using the Embed component

You'll want to replace the token URL with your token endpoint URL, which can be securely generated from your backend using IntegrationOS' Tokens library.

import { useEmbed } from "@integrationos/embed-react";

const { open } = useEmbed({
  title: "Integrations",
  token: {
    url: "https://api.your-company-name.com/embed-token",
    headers: {},
  },
  onSuccess: (connections) => {},
  onError: (error) => {},
  onClose: () => {},
});

Full Documentation

Please refer to the official IntegrationOS Embed docs for a more holistic understanding of IntegrationOS Embed.

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago