Files
planka/client/src/components/common/Toaster/FileIsTooBig.jsx

22 lines
532 B
React
Raw Normal View History

2025-08-23 00:03:20 +02:00
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import React from 'react';
import { useTranslation } from 'react-i18next';
import { Icon, Message } from 'semantic-ui-react';
const FileIsTooBig = React.memo(() => {
const [t] = useTranslation();
return (
<Message visible negative size="tiny">
<Icon name="file" />
{t('common.uploadFailedFileIsTooBig')}
</Message>
);
});
export default FileIsTooBig;