import React from "react";
import {FlowActions} from "../../actions.js";
var NavAction = React.createClass({
onClick: function (e) {
e.preventDefault();
this.props.onClick();
},
render: function () {
return (
);
}
});
var Nav = React.createClass({
render: function () {
var flow = this.props.flow;
var tabs = this.props.tabs.map(function (e) {
var str = e.charAt(0).toUpperCase() + e.slice(1);
var className = this.props.active === e ? "active" : "";
var onClick = function (event) {
this.props.selectTab(e);
event.preventDefault();
}.bind(this);
return {str};
}.bind(this));
var acceptButton = null;
if(flow.intercepted){
acceptButton = ;
}
var revertButton = null;
if(flow.modified){
revertButton = ;
}
return (
);
}
});
export default Nav;