<template>
  <div class="vtj-status">
    <WidgetRenderer
      v-for="item in status"
      :key="item.name"
      v-bind="{ ...item }"></WidgetRenderer>
  </div>
</template>
<script lang="ts" setup>
import { inject } from 'vue';
import { RegionWidgets } from '../../core';
import WidgetRenderer from '../renderer/WidgetRenderer';

const region = inject<RegionWidgets>('$region');
const { status } = region || {};
</script>
