mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-24 23:37:51 +01:00
16 lines
310 B
JavaScript
16 lines
310 B
JavaScript
import Component from '../Component.jsx';
|
|
|
|
export default class Card extends Component {
|
|
view(vnode) {
|
|
this.attrs.addClassNames('mdc-card', {
|
|
'mdc-card--outlined': this.attrs.has('outlined')
|
|
});
|
|
|
|
return (
|
|
<div {...this.attrs.all()}>
|
|
{vnode.children}
|
|
</div>
|
|
);
|
|
}
|
|
}
|