localBusiness.d.ts 1001 B

12345678910111213141516171819202122232425
  1. /// <reference types="react" />
  2. import { JsonLdProps } from './jsonld';
  3. import type { Address, Geo, AggregateRating, Review, Action, GeoCircle, OpeningHoursSpecification, Offer } from 'src/types';
  4. export interface LocalBusinessJsonLdProps extends JsonLdProps {
  5. type: string;
  6. id: string;
  7. name: string;
  8. description: string;
  9. url?: string;
  10. telephone?: string;
  11. address: Address | Address[];
  12. geo?: Geo;
  13. images?: string[];
  14. rating?: AggregateRating;
  15. review?: Review[];
  16. priceRange?: string;
  17. servesCuisine?: string | string[];
  18. sameAs?: string[];
  19. openingHours?: OpeningHoursSpecification | OpeningHoursSpecification[];
  20. action?: Action;
  21. areaServed?: GeoCircle[];
  22. makesOffer?: Offer[];
  23. }
  24. declare function LocalBusinessJsonLd({ type, keyOverride, address, geo, rating, review, action, areaServed, makesOffer, openingHours, images, ...rest }: LocalBusinessJsonLdProps): JSX.Element;
  25. export default LocalBusinessJsonLd;