react-soundcloud-widget icon indicating copy to clipboard operation
react-soundcloud-widget copied to clipboard

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

Open nthall opened this issue 8 years ago • 0 comments

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 avatar Feb 03 '17 15:02 nthall