on adf9104 help sign in
bridge/src/components/Container.js
29 lines 442 B history raw
1import React from 'react';
2import PropTypes from 'prop-types';
5const Container = ({
6 className,
7 children,
8 style,
9}) => {
10 return (
11 <main className={`container ${className}`} style={style}>
12 { children }
13 </main>
14 )
15};
17Container.propTypes = {
18 className: PropTypes.string,
19 children: PropTypes.node,
20 style: PropTypes.object,
21};
23Container.defaultProps = {
24 className: '',
25 style: {},
26};
29export default Container;