Skip to content

Conversation

@cpoftea
Copy link

@cpoftea cpoftea commented Nov 8, 2023

Scrollbars is a component type actually, and doesn't inherit Element. I think it's meant to be every possible prop types for a container itself, which is an HTMLDivElement,

since all props src/Scrollbars/index.js#L512
except explicit component ones src/Scrollbars/index.js#L489-L510
passed to the container itself src/Scrollbars/index.js#L573

bhavberi added a commit to bhavberi/react-custom-scrollbars-2 that referenced this pull request Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant