KyleAMathews / react-spinkit

A collection of loading indicators animated with CSS for React
http://kyleamathews.github.io/react-spinkit/
MIT License
1.49k stars 73 forks source link

React-Spinkit component has to be lower cased #31

Closed benbieler closed 8 years ago

benbieler commented 8 years ago

If the loading spinner here is upper cased the mocha-babel testsuite will throw an exception (spinner instead of Spinner will work). Do you know what could be the reason for this?

benbieler commented 8 years ago

ping

KyleAMathews commented 8 years ago

No idea why the case would matter. Components have to be upper-cased in JSX for the JSX transpilation to work. Highly unlikely though this has anything to do with react-spinkit as I and plenty of others have used it the normal way without trouble. If you do isolate it to something goofy here, please report back! Preferably with a PR fixing it ;-)