<template>
  <div class="demo-rate-slot">
    <div class="demo-box">
      <ui-rate
        v-model="value"
        allow-half>
        自定义
      </ui-rate>
    </div>
    <div class="demo-box">
      <ui-rate
        v-model="value"
        allow-half>
        <ui-icon name="clear"></ui-icon>
      </ui-rate>
    </div>
  </div>
</template>

<script>
import { Rate, Icon } from "amumu-ui"
export default {
  components: {
    "ui-rate": Rate,
    "ui-icon": Icon,
  },

  data() {
    return {
      value: 3.5,
    }
  },
}
</script>
