Particles with TweenMax & EaselJS
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
| class MyWrapper { | |
| return React.Children.only(this.props.children); | |
| } | |
| class MyLibraryComponent { | |
| render() { | |
| return <div><span><whatever><MyWrapper ref=...>{this.props.statelessComponentThatIWantToReference}</MyWrapper></whatever></span></div>; | |
| } |