Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var Breadcrumb=React.createClass({
- goToPath : function (i){
- this.props.fmg.openBreadCrumbs(this.props.index);
- },
- render : function (){
- return(
- <a href="#" onClick={this.goToPath}>{this.props.text} ></a>
- );
- }
- });
- module.exports = Breadcrumb;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement