import React from 'react';
import PropTypes from 'prop-types';
import FileIcon from '../FileIcon';
import Wrapper from './Wrapper';
import Image from './Image';
const CardPreview = ({ url, type }) => {
const renderFile = () => {
if (!url) {
return ;
}
return ;
};
return {renderFile()};
};
CardPreview.defaultProps = {
url: null,
type: null,
};
CardPreview.propTypes = {
url: PropTypes.string,
type: PropTypes.string,
};
export default CardPreview;