UNPKG

@empathyco/x-components

Version:
37 lines (31 loc) 1.07 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [BaseRating](./x-components.baserating.md) ## BaseRating variable Rating component. This component renders a set of elements filled based on the value passed as prop. **Signature:** ```typescript _default: import("vue").DefineComponent<{ value: { type: NumberConstructor; required: true; }; max: { type: NumberConstructor; default: number; }; }, { calculateFilledWrapperWidth: import("vue").ComputedRef<string>; ariaLabel: import("vue").ComputedRef<string>; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ value: { type: NumberConstructor; required: true; }; max: { type: NumberConstructor; default: number; }; }>>, { max: number; }, {}> ```