ClassNames and other React libraries in Codepen

Has someone been able to make React projects with ClassNames work on Codepen? I have tried using the CDN s from but I keep getting syntax errors. The same forAnimate Height. I could probably duplicate Animate Height from scratch, but classNames seems such a useful framework that it would make things much more difficult than it has to be. Here is the link to my Codepen.
By the way, the code works offline.