Created
July 14, 2016 13:50
-
-
Save trueadm/56d426b7989a8771744d87a2bfcebf82 to your computer and use it in GitHub Desktop.
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
function MyComponent() { | |
return ( | |
<div> | |
<my-chart | |
onAttached={ chart => chart.start() } | |
onDetatched={ chart => chart.end() } | |
/> | |
</div> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment