react-scroll-to-bottom
react-scroll-to-bottom copied to clipboard
How to pass text to AutoHideFollowButton
In source code, i found the definition of AutoHideFollowButton
const AutoHideFollowButton = ({ children, className }) => {
But in the line use AutoHideFollowButton in file BasicScrollToBottom.js
, there is no children was passed.
<Panel className={scrollViewClassName}>{children}</Panel>
<AutoHideFollowButton className={followButtonClassName} />
</div>
Please tell me why and how to set an icon/text to AutoHideFollowButton
see this comment #69