import { CreateLinkEvent } from '@nitrots/nitro-renderer'; import { FC } from 'react'; import { GetConfigurationValue } from '../../api'; import { Base } from '../../common'; export interface RoomWidgetViewProps {} export const RoomWidgetView: FC = props => { const poolId = GetConfigurationValue('hotelview')['room.pool']; const picnicId = GetConfigurationValue('hotelview')['room.picnic']; const rooftopId = GetConfigurationValue('hotelview')['room.rooftop']; const rooftopPoolId = GetConfigurationValue('hotelview')['room.rooftop.pool']; const peacefulId = GetConfigurationValue('hotelview')['room.peaceful']; const infobusId = GetConfigurationValue('hotelview')['room.infobus']; const lobbyId = GetConfigurationValue('hotelview')['room.lobby']; return ( <> CreateLinkEvent('navigator/goto/' + rooftopId)}> CreateLinkEvent('navigator/goto/' + rooftopPoolId)}> CreateLinkEvent('navigator/goto/' + picnicId)}> CreateLinkEvent('navigator/goto/' + infobusId)}> CreateLinkEvent('navigator/goto/' + poolId)}> CreateLinkEvent('navigator/goto/' + lobbyId)}> CreateLinkEvent('navigator/goto/' + peacefulId)}> ); };