UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

2 lines (1 loc) • 370 B
import{jsx as l}from"react/jsx-runtime";import{OverlayGrip as a}from"@expofp/ui";import{observer as t}from"mobx-react-lite";import{uiState as o}from"../store";import{t as e}from"../utils/i18n";const i=t(()=>{const r=o.overlaySize==="full";return l(a,{isFull:r,onToggle:()=>o.toggleMapOverlay(),ariaLabel:r?e("Collapse overlay"):e("Expand overlay")})});export default i;