import React from 'react';

export interface MediaBasicProps {
  media: string;
  mediaVisible: boolean;
  isDetail: boolean;
  cssStyle?: string;
}

export interface MediaProps extends MediaBasicProps {
  mediaMimeType: string;
  autoPlay?: boolean;
  needCompress?: boolean;
  isMysteryBox?: boolean;
  getMedia?: (media: any) => void;
  cardWidth?: number;
  cssStyle?: string;
  imgCssStyle?: string;
  onLoad?: () => void;
}

const Media: React.FC<MediaProps> = ({
  media,
  mediaMimeType,
  autoPlay,
  mediaVisible,
  needCompress,
  isMysteryBox,
  getMedia,
  cardWidth,
  cssStyle,
  onLoad,
  imgCssStyle,
  isDetail = true,
}) => {
  return <div>Media</div>;
};

export default Media;
