<script setup>
import { ref, defineProps } from "vue";
import AssetTableModalLeftInfo from "./AssetTableModalLeftInfo.vue";
import AssetTableModalLeftModule from "./AssetTableModalLeftModule.vue";

const props = defineProps({
  current_component_key: String,
});

const components = {
  info: AssetTableModalLeftInfo,
  module: AssetTableModalLeftModule,
};
</script>

<template>
  <component :is="components[current_component_key]"></component>
</template>

<style lang="scss" scoped></style>
