import React from 'react';
import FeedIcon from '@mui/icons-material/Feed';

interface TypeIconProps {
    isDroppable: boolean;
    fileType: string;
}

export const TypeIcon = (props: TypeIconProps) => {
    const { isDroppable } = props;

    if (isDroppable) {
        return (
            <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                <path
                    d="M7.013 2.40563C6.88362 2.27855 6.62643 2 6.18655 2C5.10958 1.99997 3.02037 2 2.4 2C1.63 2 1.007 2.61875 1.007 3.375L1 11.625C1 12.3813 1.63 13 2.4 13H13.6C14.37 13 15 12.3813 15 11.625V4.75C15 3.99375 14.37 3.375 13.6 3.375H8L7.013 2.40563Z"
                    fill="#6F7E8C"
                />
            </svg>
        );
    }
};

export default TypeIcon;
