I think there is a typo error in README (simplebar-react package). In Simplebar component's render prop pattern, props showed two objects with the same name.
What is done to fix it:
When we use render prop pattern, the props are scrollableNodeProps, contentNodeProps.
Issue:
I think there is a typo error in README (simplebar-react package). In Simplebar component's render prop pattern, props showed two objects with the same name.
What is done to fix it:
When we use render prop pattern, the props are
scrollableNodeProps
,contentNodeProps
.