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

Passing in className will overwrite default classes #13

Closed gsklee closed 9 years ago

gsklee commented 9 years ago

If I do something like this:

<Spinner className="center" spinnerName='double-bounce' />

I'll get something like this: <div class="center"> instead of something like <div class="spinner double-bounce center"> and the spinner won't work as a result.

KyleAMathews commented 9 years ago

Thanks for the bug report!

gsklee commented 9 years ago

@KyleAMathews :+1: