react-soundcloud-widget
react-soundcloud-widget copied to clipboard
Can't pass callback function in widget opts due to PropTypes
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.