UNPKG

@sberdevices/plasma-temple

Version:

SberDevices CanvasApp Templates.

9 lines 620 B
import React from 'react'; import { AnyObject } from '../../types'; import { GalleryCardParams, GalleryCardProps } from './types'; export interface GalleryCardContainerProps<T extends AnyObject> extends Omit<GalleryCardProps<T>, 'onClick'> { component?: React.ComponentType<GalleryCardProps<T>>; onClick: (cardProps: GalleryCardParams<T>, index: number) => void; } export declare const GalleryCardContainer: <T extends Record<string, any> = Record<string, any>>({ card, focused, index, component, onClick, }: GalleryCardContainerProps<T>) => React.ReactElement; //# sourceMappingURL=GalleryCardContainer.d.ts.map