@farris/ui-vue
Version:
Farris Vue, a Farris Design based Vue3 component library.
30 lines (29 loc) • 776 B
TypeScript
/**
* 用于评分。
*
* @example
* ```vue
* <script setup lang="ts">
* import { ref } from 'vue';
*
* const rateValue = ref(3);
*
* function selectedValue(value: number) {
* console.log(`评分值为:${value}`);
* }
* </script>
* <template>
* <f-rate @selected-value="selectedValue" v-model="rateValue"></f-rate>
* </template>
* ```
*
* @public
*/
declare const _default: import("vue").DefineComponent<{
[x: string]: any;
}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
[x: string]: any;
}> & Readonly<{}>, {
[x: string]: any;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;