Progress
This commit is contained in:
17
app/javascript/gabsocial/components/card_view.js
Normal file
17
app/javascript/gabsocial/components/card_view.js
Normal file
@@ -0,0 +1,17 @@
|
||||
export default class CardView extends PureComponent {
|
||||
|
||||
static propTypes = {
|
||||
children: PropTypes.any,
|
||||
}
|
||||
|
||||
render() {
|
||||
const { children } = this.props
|
||||
|
||||
return (
|
||||
<div className={[_s.default, _s.boxShadowBlock, _s.bgPrimary, _s.overflowHidden, _s.radiusSmall].join(' ')}>
|
||||
{children}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user