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

@wework/occupancy-map-components

Package Overview
Dependencies
Maintainers
26
Versions
444
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wework/occupancy-map-components

Embedded Occupancy Map Component

2.4.0
latest
npmnpm
Version published
Maintainers
26
Created
Source

Occupancy Map Components

An embedded Occupancy Map Tool

Getting Started

Install

yarn add @wework/occupancy-map-components

Usage

import React from 'react'
import { SessionOccupancyMap } from '@wework/occupancy-map-components'

const ApplicationComponent = () => {
  return (
    <SessionOccupancyMap
      configuration={{
        appId: 'appId',
        appSecret: 'appSecret',
        baseUrl: 'https://occupancy-api.phoenix.dev.wwrk.co/v2',
      }}
      buildingId="b308b94c-bca6-4318-b906-1c148f7ca183"
    />
  )
}

Example

git clone git@github.com:WeConnect/occupancy-map-components.git

cd occupancy-map-components

yarn
yarn start:demo

FAQs

Package last updated on 15 Oct 2020

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