@salla.sa/twilight-components
Version:
Salla Web Component
21 lines (20 loc) • 530 B
TypeScript
import type { ReviewsSummary } from './interfaces';
export declare class SallaReviewsSummary {
data: ReviewsSummary;
/**
* Product ID
*/
itemId: number;
canRender: boolean;
basedOnLabel: string;
recommendedLabel: string;
showRatingSummary: boolean;
recommendationOnly: boolean;
showRecommendation: boolean;
componentWillLoad(): Promise<void>;
private loadConfig;
private initializeLanguages;
private loadSummary;
private renderRecommendation;
render(): any;
}