interface NewProductListProps {
    onNavigate: ((url) => void);
    productCards?: ProductCardProps[];
    subtitle?: string;
    title: ReactNode;
    titleAlignment?: "center" | "end" | "start" | "stretch" | "stretch-text-center";
    titleGapSize?: "none" | "XS" | "S" | "M" | "L" | "XL" | "4XS" | "3XS" | "XXS";
    topBottomPaddingSize?: "none" | "XS" | "S" | "M" | "L" | "XL";
}

Properties

onNavigate: ((url) => void)

Navigation callback

Type declaration

    • (url): void
    • Navigation callback

      Parameters

      • url: string

      Returns void

productCards?: ProductCardProps[]

product cards

subtitle?: string

secondary title

title: ReactNode

main title for list

titleAlignment?: "center" | "end" | "start" | "stretch" | "stretch-text-center"

title alignment

titleGapSize?: "none" | "XS" | "S" | "M" | "L" | "XL" | "4XS" | "3XS" | "XXS"

Gap size between title and cards

topBottomPaddingSize?: "none" | "XS" | "S" | "M" | "L" | "XL"

Top and bottom padding size

Generated using TypeDoc