1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 09:35:10 +01:00
onion/js/components/ascribe_transaction_manager/transaction_manager.js
2015-10-02 11:03:42 +02:00

20 lines
430 B
JavaScript

'use strict';
import React from 'react';
let TransactionManager = React.createClass({
propTypes: {
children: React.PropTypes.oneOfType([
React.PropTypes.arrayOf(React.PropTypes.element),
React.PropTypes.element
]),
routes: React.PropTypes.arrayOf(React.PropTypes.object)
},
render() {
return this.props.children;
}
});
export default TransactionManager;