Inventory Manager Components
An embedded Inventory Manager Tool
Getting Started
Install
yarn add @wework/inventory-manager-components
Usage
import React from 'react'
import { SessionInventoryManager } from '@wework/inventory-manager-components'
const ApplicationComponent = () => {
return (
<SessionInventoryManager
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