import React from 'react'; import { CardProps } from '@wix/design-system'; import { ErrorCardProps } from '../ErrorCard'; export interface CardContainerProps extends CardProps { /** * Additional loading flag, if you need to show loader after the main entity is fetched. * Also, if an error occurs on a side request (other than passed to `fetch`), you can use `error` to show the card error state. * Alongside with `error` you also need to pass `errorState.onRetry` callback, which should change the `status` accordingly. */ status?: 'idle' | 'loading' | 'error' | 'success'; /** * Height of content while loading (not including paddings) */ minHeight?: string; /** * Card Error State configuration */ errorState?: ErrorCardProps; /** * Identifier of the card. * If you want to open a page and auto-scroll and focus ont his card, pass in the the query params `anchor={yourCardId}`. */ id?: string; } export declare function _CardContainer(props: CardContainerProps): React.JSX.Element; export declare namespace _CardContainer { var displayName: string; } export declare const CardContainer: typeof _CardContainer & { displayName: string; }; //# sourceMappingURL=CardContainer.d.ts.map