import React from 'react';

import {MediaDisplayer} from '../MediaDisplayer';

interface Props {
  onRemoveFile: () => void;
  onPress?: () => void;
  uri: string;
  isLoading?: boolean;
  isError?: boolean;
  onRetry?: () => void;
  index?: number;
}

/**
 * @deprecated Use MediaDisplayer with mediaType="video" instead
 */
export function VideoDisplayer(props: Props) {
  return <MediaDisplayer {...props} mediaType="video" />;
}
