className
LandonSchropp opened this issue · 2 comments
LandonSchropp commented
I'd love to be able to provide a className
property for the returned component instead of an ID.
moonstar-x commented
Correct me if I'm wrong but I'm 100% sure that if you pass a className
prop it will indeed be part of the component.
This is the case of the div
that wraps the respective iframes
for TwitchEmbed
and TwitchPlayer
since the iframes
are constructed by the embed script (not mine). For the TwitchChat
and TwichClip
the className
should be inserted in the iframe
since these are not created dynamically.
LandonSchropp commented
Ah, I didn't realize you were passing through the props. My bad. Thanks!