import { formatFileTypeToView } from '@astral/utils/file/formatFileTypeToView';
export const useLogic = ({ accept, ...restProps }) => {
    const extensions = accept.map(formatFileTypeToView).join(', ');
    return { extensions, ...restProps };
};
