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

Adds accept prop #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

shankie-codes
Copy link

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

Copy link

@PaoloDiBello PaoloDiBello left a comment

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
Author

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

@PaoloDiBello
Copy link

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

@shankie-codes
Copy link
Author

shankie-codes commented Nov 25, 2019 via email

@PaoloDiBello
Copy link

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

@PaoloDiBello
Copy link

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

@shankie-codes
Copy link
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
Copy link

PaoloDiBello commented Nov 25, 2019

Why not, do you know how?

@shankie-codes
Copy link
Author

No, I'm not sure I'm sorry

@shadrina
Copy link

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