Created
December 4, 2019 21:02
-
-
Save AliYmn/ba96f6f41866c8dc18ce1302a0b1f79c to your computer and use it in GitHub Desktop.
React Custom Scrollbars Example
This file contains hidden or 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
import { Scrollbars } from 'react-custom-scrollbars'; | |
<Scrollbars | |
autoHide={false} | |
autoHeight={true} | |
style={{ height: 150 }} | |
> | |
// your component here | |
</Scrollbars> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NOTE : you should install this package ( npm install react-custom-scrollbars ) or ( yarn add react-custom-scrollbars )