@empathyco/x-components
Version:
Empathy X Components
37 lines (31 loc) • 1.07 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [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;
}, {}>
```