You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have included your library as suggestion in code as a component. I would like the loader to close itself after a certain amount of time has passed. The loader shows because of the property assigned to this.props.loading, however, I can not set that property after a delay, because of the inaccessibility of props.
Your guidance would be appreciated.
Regards,
Willem
The text was updated successfully, but these errors were encountered:
Here is a codesandbox example https://codesandbox.io/s/old-tree-tdif9?file=/src/App.js for showing loader for a certain amount of time. I have used a loading state variable and set the loading to false after 3 seconds. Happy to help if you need more.
This is a very simple library and I wanted to keep it simple so that it is easily customisable. You can easily copy paste the lib/loading.js and lib/style.css to your react project and customise it.
Hi,
I have included your library as suggestion in code as a component. I would like the loader to close itself after a certain amount of time has passed. The loader shows because of the property assigned to this.props.loading, however, I can not set that property after a delay, because of the inaccessibility of props.
Your guidance would be appreciated.
Regards,
Willem
The text was updated successfully, but these errors were encountered: