-
-
Notifications
You must be signed in to change notification settings - Fork 535
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(react): fix support for custom classNames
- Loading branch information
Showing
2 changed files
with
39 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
79e111c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
packages/simplebar-react/index.tsx:
Lines 125 and 128 assume that properties 'horizontal' and 'vertical' of classNames passed in props of SimpleBar component do not have an effect. Is this done on purpose and should be reflected in Readme?
And if so, should there be a limited version of the ClassNames type, which would show the class of which elements the user can overwrite?