<template>
  <Teleport>
    <InfoBoard :visible="visible" :selectedDevice="selectedDevice"
      @update:visible="(val) => $emit('update:visible', val)"></InfoBoard>
  </Teleport>
</template>
<script>
import Teleport from "@screen/components/Teleport.vue";
import InfoBoard from "./InfoBoard.vue";
export default {
  components: {
    Teleport,
    InfoBoard,
  },
  props: {
    visible: {
      type: Boolean,
      default: false,
    },
    selectedDevice: {
      type: Object,
      default: null,
    },
  },
}

</script>
