<template>
  <text v-if="[true, 'true', 1].includes(value)" class="render-boolean">是</text>
  <text v-else-if="[false, 'false', 0].includes(value)" class="render-boolean">否</text>
  <text v-else class="render-boolean"></text>
</template>

<script>
export default {
  name: 'RenderBoolean',
  props: {
    value: [Boolean, String]
  },
};
</script>
