You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP

sardine-react-js-wrapper

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

sardine-react-js-wrapper

React JS package to support Web SDK wrapper

1.0.3
unpublished
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created

sardine-react-js-wrapper

Installation

npm install sardine-react-js-wrapper
OR
yarn add sardine-react-js-wrapper

Usage

import { SardineConfig } from "./config";
import { SardineProvider } from "./SardineProvider";

const App: React.FC = () => {

const config: SardineConfig = {
    clientId: "REPLACE_ME_CLIENT_ID_SHARED_BY_SARDINE",
    customerId: "REPLACE_ME_CUSTOMER_ID",
    environment: "sandbox",
    sessionKey: "REPLACE_ME_SESSION_KEY",
  };

  return (
    <SardineProvider config={config}>
      <Page1/>
      <Page2/>
    </SardineProvider>
  );
};

export default App;

Keywords

FAQs

Package last updated on 13 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts