@empathyco/x-components
Version:
Empathy X Components
39 lines (33 loc) • 1.25 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<import("vue").ExtractPropTypes<{
value: {
type: NumberConstructor;
required: true;
};
max: {
type: NumberConstructor;
default: number;
};
}>, {
calculateFilledWrapperWidth: import("vue").ComputedRef<string>;
ariaLabel: import("vue").ComputedRef<string>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
value: {
type: NumberConstructor;
required: true;
};
max: {
type: NumberConstructor;
default: number;
};
}>> & Readonly<{}>, {
max: number;
}, {}, {
DefaultIcon: import("vue").DefineComponent<{}, {}, any>;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>
```