mirror of
https://gitlab.aliens-lyon.fr/encartes/web-interface.git
synced 2026-09-11 18:00:45 +02:00
Add parameters to map
This commit is contained in:
+6
-1
@@ -81,12 +81,17 @@ function TopBar() {
|
||||
</>
|
||||
}
|
||||
|
||||
function handleRoomSelected(id)
|
||||
{
|
||||
alert('AA')
|
||||
}
|
||||
|
||||
export default function App() {
|
||||
return <>
|
||||
<TopBar />
|
||||
|
||||
<div style={{ flexGrow: '1', display: 'flex', flexDirection: 'line', flexWrap: 'nowrap' }}>
|
||||
<Map />
|
||||
<Map callbackRoomSelected={handleRoomSelected} selectedRoom={null}/>
|
||||
<RoomResearch />
|
||||
</div>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user