PreviewGroup.d.ts 676 Bytes
import * as React from 'react';
export interface GroupConsumerProps {
    previewPrefixCls?: string;
}
export interface GroupConsumerValue extends GroupConsumerProps {
    isPreviewGroup?: boolean;
    previewUrls: string[];
    setPreviewUrls: React.Dispatch<React.SetStateAction<string[]>>;
    setCurrent: React.Dispatch<React.SetStateAction<string>>;
    setShowPreview: React.Dispatch<React.SetStateAction<boolean>>;
    setMousePosition: React.Dispatch<React.SetStateAction<null | {
        x: number;
        y: number;
    }>>;
}
export declare const context: React.Context<GroupConsumerValue>;
declare const Group: React.FC<GroupConsumerProps>;
export default Group;