<template>
  <div class="vtj-brand">
    <WidgetRenderer
      v-for="item in brand"
      :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 { brand } = region || {};
</script>
