mirror of
https://github.com/plankanban/planka.git
synced 2025-12-23 09:15:09 +03:00
22 lines
532 B
React
22 lines
532 B
React
|
|
/*!
|
||
|
|
* 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;
|