mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 09:35:10 +01:00
20 lines
430 B
JavaScript
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; |