Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/파일 업로더 세부 기능 구현 #479 #899

Merged
merged 13 commits into from
Jun 4, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/Uploader/FileUploader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useDropzone } from 'react-dropzone';
import toast from 'react-hot-toast';
import { Typography } from '@mui/material';
import { VscNewFile } from 'react-icons/vsc';
import { FILE, MAX_FILE_SIZE, ALLOWED_FILE_EXTENSIONS } from '@constants/apiResponseMessage';
import { FILE, MAX_FILE_SIZE, EXTENSION_NOTICE } from '@constants/apiResponseMessage';
import FileUploadListTable from './FileUploadList';

interface FileUploaderProps {
Expand Down Expand Up @@ -96,7 +96,7 @@ const FileUploader = ({
<Typography className="inline">
클릭 또는 드래그하여 파일을 첨부하세요
<br />
<span style={{ fontSize: '12px' }}>지원하는 파일: {ALLOWED_FILE_EXTENSIONS.join(', ')}</span>
<span style={{ fontSize: '12px' }}>{EXTENSION_NOTICE}</span>
redzzzi marked this conversation as resolved.
Show resolved Hide resolved
</Typography>
</span>
</div>
Expand Down