Created
September 22, 2016 14:38
-
-
Save bogdanjsx/257de1b5e3351ad40052b6ebd6a43534 to your computer and use it in GitHub Desktop.
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
if (this.props.component) { | |
findDOMNode(this.refs[`componentName-${this.props.component}`]) | |
.scrollIntoView({ behavior: 'smooth' }); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment