next-seo
Version:
SEO plugin for Next.js projects
25 lines (24 loc) • 886 B
TypeScript
/// <reference types="react" />
import { JsonLdProps } from './jsonld';
import type { Instruction, AggregateRating, Video } from 'src/types';
export interface RecipeJsonLdProps extends JsonLdProps {
name: string;
description: string;
authorName: string | string[];
ingredients: string[];
instructions: Instruction[];
images?: string[];
datePublished?: string;
prepTime?: string;
cookTime?: string;
totalTime?: string;
keywords?: string;
yields?: string;
category?: string;
cuisine?: string;
calories?: number;
aggregateRating?: AggregateRating;
video?: Video;
}
declare function RecipeJsonLd({ type, keyOverride, authorName, images, yields, category, cuisine, calories, aggregateRating, video, ingredients, instructions, ...rest }: RecipeJsonLdProps): JSX.Element;
export default RecipeJsonLd;