<template>
  <div class="tip-wrapper">
    <div class="icon">
      <img src="./tip-icon.svg" alt="">
    </div>
    <div class="text text-tip-2 text-primary-50-clor">{{ `数据来源：${dataSource},数据时间：${dataTime}` }}</div>
  </div>
</template>

<script setup>

const props = defineProps({
  dataSource: {
    type: String,
    default: '美国国会官网'
  },
  dataTime: {
    type: String,
    default: '2023.1至2025.12'
  },

})

</script>

<style lang="scss" scoped>
.tip-wrapper {
  width: 100%;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  height: 22px;

  .icon {
    width: 16px;
    height: 16px;

    img {
      width: 100%;
      height: 100%;
    }
  }
}
</style>