UNPKG

react-google-reviews

Version:

A React component to easily display Google reviews using Google Places API or Google My Business API.

15 lines (14 loc) 461 B
/** @jsxImportSource @emotion/react */ import { FC } from "react"; import { BadgeCSSProps } from "../../types/cssProps"; import { Theme } from "../../types/review"; type BadgeProps = { averageRating: number; totalReviewCount: number; profileUrl?: string | null; theme?: Theme; badgeLabel?: string; badgeSubheadingFormatter?: (totalReviewCount: number) => string; }; export declare const Badge: FC<BadgeProps & BadgeCSSProps>; export {};