gab-social/app/javascript/gabsocial/components/popover/popover_layout.js
2020-03-24 00:39:12 -04:00

20 lines
366 B
JavaScript

import Block from '../block'
export default class PopoverLayout extends PureComponent {
static propTypes = {
children: PropTypes.node,
className: PropTypes.string,
}
render() {
const { children, className } = this.props
return (
<div className={className}>
<Block>
{children}
</Block>
</div>
)
}
}