add/make 4 rating examples
This commit is contained in:
12
docs/components/rating/examples/RatingWithTextExample.vue
Normal file
12
docs/components/rating/examples/RatingWithTextExample.vue
Normal file
@@ -0,0 +1,12 @@
|
||||
<template>
|
||||
<div class="vp-raw flex flex-col">
|
||||
<Rating rating=4>
|
||||
<template #besideText>
|
||||
<p class="ml-2 text-sm font-medium text-gray-500 dark:text-gray-400">4.95 out of 5</p>
|
||||
</template>
|
||||
</Rating>
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import { Rating } from '../../../../src/index'
|
||||
</script>
|
||||
Reference in New Issue
Block a user