react-canny-io
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

React Canny

Description

Canny.io integration for react

Installation

npm install react-canny

Usage

import {
    CannyProvider,
    CannyWidget
} from "react-canny";


const APP_ID = "/* Your app id */";
const BOARD_TOKEN = "/* Tour token board */";
const SSO_TOKEN = "/* Your sso token */";

const App = () => {
    return (
        <CannyProvider appId={APP_ID}>
            <CannyWidget
              basePath="/feedback"
              user={{
                id: 1,
                email: "test@mail.com"
              }}
              boardToken={BOARD_TOKEN}
              ssoToken={SSO_TOKEN} />
        </CannyProvider>
    );
};

Readme

Keywords

Package Sidebar

Install

npm i react-canny-io

Weekly Downloads

0

Version

0.0.3

License

ISC

Unpacked Size

7.45 kB

Total Files

14

Last publish

Collaborators

  • yanaharris