ampache_react/app/containers/App.jsx
Phyks (Lucas Verney) 945b218504 Translations improved
* Translation system in place
* French translations available
2016-07-28 23:20:11 +02:00

18 lines
386 B
JavaScript

import React, { Component, PropTypes } from "react";
export default class App extends Component {
render () {
return (
<div>
{this.props.children && React.cloneElement(this.props.children, {
error: this.props.error
})}
</div>
);
}
}
App.propTypes = {
children: PropTypes.node,
};