UNPKG

@sberdevices/plasma-temple

Version:

SberDevices CanvasApp Templates.

15 lines 901 B
import React from 'react'; import { AnyObject } from '../../types'; import { ComponentPropsWithHeader } from '../../components/Header/types'; import { GalleryCardProps } from '../../components/GalleryCard/types'; import { ShopLandingPageState } from './types'; export interface ShopLandingPageProps<T extends AnyObject = AnyObject> extends ComponentPropsWithHeader { state: ShopLandingPageState<T>; galleryCard?: React.ComponentType<GalleryCardProps<T>>; onCatalogOpen: () => void; onStoreInfoClick: () => void; onItemClick: (val: T) => void; changeState: (state: ShopLandingPageState<T>) => void; } export declare const ShopLandingPage: <T extends Record<string, any> = Record<string, any>>({ galleryCard, state, onItemClick, header, onCatalogOpen, onStoreInfoClick, changeState, }: ShopLandingPageProps<T>) => React.ReactElement; //# sourceMappingURL=ShopLandingPage.d.ts.map