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
Hi, I have tried to use the renderToolbar method to design my collapsible but only the image in imageSource is rendered, regardless of what I do. If I remove the imageSource prop then my app breaks, telling me "Either an imageSource or custom component is required".
How can I avoid the imageSource and design my toolbar using the renderToolbar method itself?
The text was updated successfully, but these errors were encountered:
renderToolbar should return a function. If both renderToolbar & imageSource is given as props, renderToolbar takes priority. So it should work without any problems. Just use the renderToolbar instead of imageSource.
Hi, I have tried to use the renderToolbar method to design my collapsible but only the image in imageSource is rendered, regardless of what I do. If I remove the imageSource prop then my app breaks, telling me "Either an imageSource or custom component is required".
How can I avoid the imageSource and design my toolbar using the renderToolbar method itself?
The text was updated successfully, but these errors were encountered: