Skip to content

Conversation

@jeongyou
Copy link
Collaborator

#️⃣ 연관된 이슈

#113

📝 훅 간단 사용 설명

useFileDrop은 사용자가 드래그 앤 드롭으로 파일을 업로드할 수 있도록 도와주는 커스텀 훅입니다.
드래그 상태(isOver), 드롭된 파일 목록(files), 에러(error) 상태를 제공하며,
확장자 제한(extensions), 파일 개수 제한(maxFiles), 드롭존 활성화/비활성화(disabled) 등을 옵션으로 제어할 수 있습니다.

스크린샷 (선택)

2025-09-29.4.10.06.mov

@github-actions
Copy link

github-actions bot commented Sep 28, 2025

🚀 테스트 결과

실행 시간: 2025년 09월 29일 04시 23분 23초
커밋: 63361ad

📊 요약

  • Lint: ✅ 성공
  • Tests: ✅ 성공

📝 Lint Check

✅ Lint check passed

🧪 Tests

✅ Tests passed

@vercel
Copy link

vercel bot commented Sep 28, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
2025-fe-hookdle-docs Ready Ready Preview Comment Sep 28, 2025 7:22pm

* @property {boolean} [disabled]
* - true면 모든 드래그/드롭 이벤트가 무시됩니다.
* @property {string[]} [extensions]
* - 허용할 파일 확장자 목록입니다. 예: ['png', 'jpg'] (대소문자/앞의 점(.) 여부 무시)

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

훅 개발 New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants