thomasboyt / react-spin

React component wrapper for spin.js
27 stars 23 forks source link

return a valid ReactComponent by render() #3

Closed benfreu closed 9 years ago

benfreu commented 9 years ago

The JSX syntax didn't work because it's in a .js file

awli commented 9 years ago

@thomasboyt could you merge this? It's not possible to use this by default unless this is done.

qimingweng commented 9 years ago

+1 on this. Even though I compile my jsx, most compile setups ignore the node_modules folder, and it's annoying to write an exception.

Alternatively, you can set up a /lib/ folder that compiles the entire source into javascript through something like babel.

thomasboyt commented 9 years ago

fixed in 0.4.0 just published to NPM, sorry for the delay