UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

2 lines (1 loc) 359 B
import{jsx as n}from"react/jsx-runtime";import l from"../ui/WayfindingFloorSelector";import{t as e}from"../utils/i18n";const m=({floors:r,floorSelectionLabel:a,...t})=>{const i=r.map(o=>({...o,ariaLabel:o.ariaLabel??o.description??e("Floor {{name}}",{name:o.name})}));return n(l,{...t,floors:i,floorSelectionLabel:a??e("Floor selection")})};export default m;