<template>
   <span class="btn-state" :class="[params.data.status == 1 ? 'state1' : params.data.status == 0 ? 'state2' : 'state3']"><i class="ico"></i>{{ params.value }}</span>  
</template>

<script setup>  
  // props
  const props = defineProps({
    params: Object,
  })
</script>