import * as tslib_1 from "tslib";
import { WidgetBase } from '@dojo/framework/core/WidgetBase';
import { tsx } from '@dojo/framework/core/vdom';
import { alwaysRender } from '@dojo/framework/core/decorators/alwaysRender';
import { ThemedMixin, theme } from '@dojo/framework/core/mixins/Themed';
import * as css from '../theme/card.m.css';
let Card = class Card extends ThemedMixin(WidgetBase) {
    render() {
        const { actionsRenderer } = this.properties;
        const actionsResult = actionsRenderer && actionsRenderer();
        return (tsx("div", { key: "root", classes: this.theme(css.root) },
            this.children,
            actionsResult && tsx("div", { classes: this.theme(css.actions) }, actionsResult)));
    }
};
Card = tslib_1.__decorate([
    theme(css),
    alwaysRender()
], Card);
export { Card };
export default Card;

/*# sourceMappingURL=index.mjs.map*/