20 lines
628 B
TypeScript
20 lines
628 B
TypeScript
import { CardProps } from 'antd';
|
|
import React, { ReactNode } from 'react';
|
|
import './index.less';
|
|
export interface VideoPlayerCardProps {
|
|
windowKey?: string;
|
|
selectedWindowKey?: string;
|
|
showType?: 'video' | "image";
|
|
imgSrc?: string;
|
|
videoSrc?: string;
|
|
cardProps?: CardProps;
|
|
errorReasonText?: string;
|
|
isWindowLoading?: boolean;
|
|
size?: 'large' | 'small';
|
|
title?: string | ReactNode;
|
|
handleCloseButtonClick?: (key?: string) => void;
|
|
handleWindowClick?: (key?: string) => void;
|
|
}
|
|
export declare const VideoPlayerCard: React.FC<VideoPlayerCardProps>;
|
|
export default VideoPlayerCard;
|