gab-social/app/javascript/gabsocial/components/block.js

11 lines
305 B
JavaScript
Raw Normal View History

2020-02-22 23:26:23 +00:00
export default class Block extends PureComponent {
render() {
const { children } = this.props
return (
<div className={[_s.default, _s.backgroundColorPrimary, _s.overflowHidden, _s.radiusSmall, _s.borderColorSecondary, _s.border1PX].join(' ')}>
{children}
</div>
)
}
}