context = window teacherActions = window.JK.Actions.Teacher SessionActions = @SessionActions @TeacherSetupNav = React.createClass({ navBack: (e) -> e.preventDefault(); console.log("navBack this.props", this.state, this.props) this.props.handleNav({direction: "back"}) navNext: (e) -> e.preventDefault() console.log("navNext this.props", this.state, this.props) this.props.handleNav({direction: "next"}) render: () -> console.log("SetupNav: this.props", this.state, this.ref, this.props.handleNav) `
` })