Skip to content

Adds accept prop#18

Open
shankie-codes wants to merge 2 commits into
BosNaufal:masterfrom
shankie-codes:master
Open

Adds accept prop#18
shankie-codes wants to merge 2 commits into
BosNaufal:masterfrom
shankie-codes:master

Conversation

@shankie-codes

Copy link
Copy Markdown

I need to be able to control which file types the component accepts. I've added a passed-through accept prop.

@PaoloDiBello PaoloDiBello left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@shankie-codes

Copy link
Copy Markdown
Author

Great thanks. Let me know when you've released a new version!

@PaoloDiBello

Copy link
Copy Markdown

I am not the maintainer, so, unfortunately, I can't release a new version. My bad.

@shankie-codes

shankie-codes commented Nov 25, 2019 via email

Copy link
Copy Markdown
Author

@PaoloDiBello

Copy link
Copy Markdown

Would you mind reviewing my pull requests too? It looks almost like yours but I added disabled instead.

@PaoloDiBello

Copy link
Copy Markdown

The props could be pass directly like this:
<input {...props}>

@shankie-codes

Copy link
Copy Markdown
Author

Looks the same as my stuff @PaoloDiBello – just passing additional props to the underlying component.

@BosNaufal can we get these little tweaks merged?

@PaoloDiBello

PaoloDiBello commented Nov 25, 2019

Copy link
Copy Markdown

Why not, do you know how?

@shankie-codes

Copy link
Copy Markdown
Author

No, I'm not sure I'm sorry

@shadrina

Copy link
Copy Markdown

Such a prop would be very useful. @BosNaufal is it planned to merge the changes?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants