element-plus/docs/examples/rate/sizes.vue
kooriookami 9e53873742
feat(components): [el-rate] rate add size prop (#5102)
* feat: rate add size

* feat: update test

* feat: update
2022-01-07 15:43:38 +08:00

14 lines
268 B
Vue

<template>
<el-rate v-model="value" size="large"></el-rate>
<br />
<el-rate v-model="value"></el-rate>
<br />
<el-rate v-model="value" size="small"></el-rate>
</template>
<script lang="ts" setup>
import { ref } from 'vue'
const value = ref(null)
</script>