This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

hypertrack-sdk-reactjs

1.1.2 • Public • Published

Installation

In the project directory, you can run:

$ npm install --save hypertrack-sdk-react
$ yarn add hypertrack-sdk-react

Usage

import React from 'react';
import { LiveView } from 'hypertrack-sdk-react';

const App = () => {
  const [tooltip, setTooltip] = React.useState(false);
  const [list, setList] = React.useState(false);

  return (
    <div className="App">
      <LiveView
        publishableKey={"Your publishableKey here"}
        isTooltipsShown={false}
        isDeviceListShown={false}
        selectedDeviceId={null}
        defaultLayer={"street"}
        customLayer={"Optional prop for changing map tiles here"}
        className="testClass"
      />
    </div>
  );
}

export default App;

Readme

Keywords

none

Package Sidebar

Install

npm i hypertrack-sdk-reactjs

Weekly Downloads

1

Version

1.1.2

License

MIT

Unpacked Size

271 kB

Total Files

5

Last publish

Collaborators

  • hypertrack