18 lines
286 B
JavaScript
18 lines
286 B
JavaScript
|
import React, { PropTypes } from 'react';
|
||
|
|
||
|
function Overlay(props) {
|
||
|
return (
|
||
|
<div className="overlay">
|
||
|
<div className="overlay-content">
|
||
|
{props.children}
|
||
|
</div>
|
||
|
</div>
|
||
|
);
|
||
|
}
|
||
|
|
||
|
Overlay.propTypes = {
|
||
|
children: PropTypes.object
|
||
|
};
|
||
|
|
||
|
export default Overlay;
|