fakiolinho / react-loading

React component for loading animations

Home Page:https://codesandbox.io/s/mqx0ql55qp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Things I would like to have

kof opened this issue · comments

  • es6 support
  • only loading svg I really use
  • implementation of delay - only render indicator if component is still mounted after Xms, where recommended value is 1000.

Would you accept a PR or willing implement them?

So I added the delay, I'm not sure what you mean by es6 support but it's using es6 classes to create the component and I fixed the broken dist file.

I'm not sure how I'd go about implementing selective svg loading, but I'd be happy to accept a PR.

for es6 you can just use: import Loading from 'react-loading'