<template>
  <div>
    <BottomPopup ref="bottomPopupRef" />
  </div>
</template>
<script lang="ts" setup>
import BottomPopup from './bottom-popup.vue';
import vue from '../../../adapter-vue';

const { ref } = vue;
const bottomPopupRef = ref();

function onLike(messageInfo: Object) {
  bottomPopupRef.value.onLike(messageInfo);
}

function onDislike(messageInfo: Object) {
  bottomPopupRef.value.onDislike(messageInfo);
}

defineExpose({
  onLike,
  onDislike,
});

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