<script setup>
import Demo from '../../test/components/Demo.vue'
import RecordView from '../../test/components/RecordView.vue'

defineProps({
  data: { type: Object },
})
</script>

<template>
  <RecordView
    :recordId="data.id"
    :isView="false"
    style="border: 1px solid #eee; border-radius: 10px; margin-bottom: 20px; overflow: hidden"
    v-if="data" />

  <Demo :id="data.live_practice_id" :recordId="data.id" :isView="true" />
</template>
