refactor flow menu

This commit is contained in:
Clemens 2016-08-16 13:17:37 +02:00
parent 779e5e84e3
commit dbec2e0940

View File

@ -8,10 +8,14 @@ FlowMenu.title = 'Flow'
FlowMenu.propTypes = { FlowMenu.propTypes = {
flow: PropTypes.object.isRequired, flow: PropTypes.object.isRequired,
acceptFlow: PropTypes.func.isRequired,
replayFlow: PropTypes.func.isRequired,
duplicateFlow: PropTypes.func.isRequired,
removeFlow: PropTypes.func.isRequired,
revertFlow: PropTypes.func.isRequired
} }
function FlowMenu({ flow, acceptFlow, replayFlow, duplicateFlow, removeFlow, revertFlow }) { function FlowMenu({ flow, acceptFlow, replayFlow, duplicateFlow, removeFlow, revertFlow }) {
return ( return (
<div> <div>
<div className="menu-row"> <div className="menu-row">