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

Can't pass callback function in widget opts due to PropTypes #12

Open
nthall opened this issue Feb 3, 2017 · 0 comments
Open

Can't pass callback function in widget opts due to PropTypes #12

nthall opened this issue Feb 3, 2017 · 0 comments

Comments

@nthall
Copy link

nthall commented Feb 3, 2017

The Soundcloud Widget API allows a callback function to be specified in widget opts that is fired when the widget is loaded and ready. Invaluable for any interactions between React & the player. But this wrapper doesn't allow a callback to be passed in opts; PropTypes only allows Boolean values for opts.

@nthall nthall changed the title Can't pass callback function in widget opts due to propTypes Can't pass callback function in widget opts due to PropTypes Feb 3, 2017
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

No branches or pull requests

1 participant