mbn-react-google-reviews
Version:
Google Reviews Component which will bis in reactc component and is used by millions of developers
25 lines (21 loc) • 519 B
TypeScript
import React from 'react';
type ReviewCardProps = {
author: string;
rating: number;
text: string;
date?: string;
avatar?: string;
};
type MbnGoogleReviewProps = {
reviews?: ReviewCardProps[];
placeId?: string;
apiKey?: string;
layout?: "grid" | "slider";
showTitle?: boolean;
titleText?: string;
descriptionText?: string;
ctaLabel?: string;
onCTAClick?: () => void;
};
declare const MbnGoogleReview: React.FC<MbnGoogleReviewProps>;
export { MbnGoogleReview };