-
-
Notifications
You must be signed in to change notification settings - Fork 580
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
File Upload and Preview #637
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
} | ||
|
||
const FileUpload=block(({file})=>{ | ||
console.log(file) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, you left this here😉
console.log(file) | ||
return( | ||
<div className='preview' > | ||
<img src={file} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we have an 'alt' too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok,I will fix this:)
@deeola suggested changes made. please review it again:) |
Please run |
@aidenybai requirement satisfy to run 'pnpm -w run cleanup' command. please review it again:) |
Have you worked on the requested changes @deeola? |
@tobySolutions Yes, I made the all requested changes suggested. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you separate the components? It's not really best practice to nest components. Thank you.
@tobySolutions Required changes made, please review it again:) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tobySolutions,I made the suggested changes:)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Fixes: #623
I have made the file upload and preview app in which users can upload files and preview those files. I developed it using the block of million.js.
Status
Semantic versioning classification: