import React from "react"; import { Item } from "../types"; export interface PromoListProps extends React.HTMLAttributes { /** Group title of list */ title?: string; /** Element used for group title (H2, H3, etc) */ titleElement?: string; /** Show list group title by default or false to hide it */ titleVisible?: boolean; /** Element used for individual item title (H3, H4, etc) */ itemTitleElement?: string; /** Array of items */ items?: Item[]; /** Group CTA (Button) URL */ groupButtonUrl?: string; /** Group CTA (Button) Label */ groupButtonLabel?: string; /** If firstItemPromoted is true then first item will display as promoted list item */ firstItemPromoted?: boolean; /** Lazyload images on scroll */ lazyLoadImages?: boolean; } declare const PromoList: React.VFC; export default PromoList;