import { type PosterVisualProps } from "./Poster"; import { type Source } from "../libraries/Source"; import type { Catalog } from "../libraries/Catalog"; import type { HtmlDivProps } from "../libraries/HtmlProps"; import React from "react"; /** * @category Components */ export interface GridProps extends PosterVisualProps { /** * The source of the items to display in the grid. */ source: Source; /** * The priority catalogs to use when displaying the shows. * The catalogs are prioritized in the order they are provided. * * If a show is available in multiple streaming catalogs, * the first catalog in the list that contains the show will be used * when showing the catalog logo and deep link. */ priorityCatalogs?: Catalog[]; /** * The props for the root div contains all the posters. */ rootDivProps?: HtmlDivProps; } /** * A grid of posters that fetches items from a source. * Provides infinite scrolling to fetch more items out of the box. * * You can set a height or append the Grid component to a parent with a height * to limit the height of the grid, as the grid will grow indefinitely (as long as the source has items) * and keep fetching more items. * * @category Components */ export declare function Grid(props: GridProps): React.ReactElement; //# sourceMappingURL=Grid.d.ts.map