Hide progress bar
Is there any way to remove the status bar?
@jduhking not yet.
@jduhking not yet.
I see, how hard do you think it would be to add an option to hide it?
@jduhking I don't think it will be difficult, we need to add the prop and based on that we can conditionally render the progress bar.
I had the same question, but then I found setting duration to 0 worked out.
The feature is added in this PR — https://github.com/zahidalidev/toastify-react-native/pull/37 (merged).
To hide the progress bar use it like this:
<ToastManager
showProgressBar={false}
/>
We are currently waiting for a new npm version that will contain the changes.
The feature is available in the >5.0.1 versions.