gab-social/app/javascript/gabsocial/components/block.js
2020-04-07 21:06:59 -04:00

17 lines
365 B
JavaScript

export default class Block extends PureComponent {
static propTypes = {
children: PropTypes.node,
}
render() {
const { children } = this.props
return (
<div className={[_s.default, _s.backgroundColorPrimary, _s.overflowHidden, _s.radiusSmall, _s.borderColorSecondary, _s.border1PX].join(' ')}>
{children}
</div>
)
}
}