react-toolbox/components/app/App.jsx

20 lines
353 B
React
Raw Normal View History

import React from 'react';
import style from './style';
2015-11-25 22:30:28 +03:00
const App = ({className, children}) => (
<div data-react-toolbox='app' className={`${style.root} ${className}`}>
{children}
</div>
);
2015-11-25 22:30:28 +03:00
App.propTypes = {
children: React.PropTypes.node,
className: React.PropTypes.string
};
2015-10-29 08:33:21 +03:00
2015-11-25 22:30:28 +03:00
App.defaultProps = {
className: ''
};
2015-10-29 08:33:21 +03:00
export default App;