Hiyve Components - v1.0.0
    Preparing search index...

    Function RoomTimer

    • Elapsed room timer: an outlined chip counting up from the moment it mounts (m:ss, then h:mm:ss past an hour). PrebuiltRoom renders one at the end of its app bar when showRoomTimer is on; render it yourself — for example in headerLeadingActions, beside the title — when it should sit somewhere else.

      Parameters

      Returns Element

      <PrebuiltRoom
      headerLeadingActions={<RoomTimer sx={{ ml: 1 }} />}
      showRoomTimer={false}
      />