<template>
  <div>
    <svg-icon icon-class="upArrow" v-show='injectData[injectData.prop] > 0'/>
    <svg-icon icon-class="downArrow"  v-show='injectData[injectData.prop] < 0'/>
    <span style="margin-left: 5px;">{{ injectData[injectData.prop] }}</span>
  </div>
</template>
<script>
export default {
  name: 'subRate',
  props: {
    injectData: {
      type: Object,
      default: () => ({})
    }
  }
}
</script>