UNPKG

@empathyco/x-components

Version:
51 lines 1.48 kB
import type { Result } from '@empathyco/x-types'; import type { PropType } from 'vue'; /** * This component renders a {@link BaseRating} for a result passed as prop. * * @public */ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ /** * The {@link @empathyco/x-types#Result} to render its rating. * * @public */ result: { type: PropType<Result>; required: true; }; /** * A link to redirect when rating is clicked. * * @public */ link: { type: StringConstructor; }; }>, { el: import("vue").Ref<HTMLElement | null | undefined, HTMLElement | null | undefined>; emitClickedEvent: () => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ /** * The {@link @empathyco/x-types#Result} to render its rating. * * @public */ result: { type: PropType<Result>; required: true; }; /** * A link to redirect when rating is clicked. * * @public */ link: { type: StringConstructor; }; }>> & Readonly<{}>, {}, {}, { BaseRating: import("vue").DefineComponent<{}, {}, any>; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default; //# sourceMappingURL=base-result-rating.vue?vue&type=script&lang.d.ts.map