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

17 lines
283 B
JavaScript
Raw Normal View History

2020-05-07 05:03:34 +01:00
export default class CardView extends PureComponent {
static propTypes = {
children: PropTypes.any,
}
render() {
const { children } = this.props
return (
2020-05-07 06:55:24 +01:00
<div title='cardview' className={[_s.default].join(' ')}>
2020-05-07 05:03:34 +01:00
{children}
</div>
)
}
}