hngprojects / hng_boilerplate_nextjs

https://deployment.nextjs.boilerplate.hng.tech
208 stars 265 forks source link

[FEAT] - Components - MediaFileUpload #213

Closed stephen-gift closed 4 months ago

stephen-gift commented 4 months ago

Description

Create a reusable Media file upload component with drag-and-drop functionality using TypeScript (TSX) and Shadcn in a Next.js application. The component should support file selection through drag-and-drop and manual file input, displaying previews of the uploaded files with an option to delete uploaded images. It should also include a label prop and a customizable button component.

Acceptance Criteria

Requirements

Tests

Tasks

LINKS

Figma Link

IMAGES

Frame 1321315435 Frame 1321315435 (1)

authcornelius commented 4 months ago

I am here

Peliah commented 4 months ago

hi, I have a question about the custom button in the requirement, Should the component only accept the functional component as a prop or is there something in here that it's supposed to do?

please can you kindly clarify @stephen-gift @abiona01

stephen-gift commented 4 months ago

hi, I have a question about the custom button in the requirement, Should the component only accept the functional component as a prop or is there something in here that it's supposed to do?

please can you kindly clarify @stephen-gift @abiona01

The custom button mentioned Is the button from the main design.

Peliah commented 4 months ago

Understood. Thank you very much for the clarificaion