"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Card = void 0;
const classnames_1 = __importDefault(require("classnames"));
const react_1 = __importDefault(require("react"));
const Text_1 = __importDefault(require("../../Text"));
const Card_module_scss_1 = __importDefault(require("./Card.module.scss"));
const Card = ({ title, children, className }) => {
    return (react_1.default.createElement("div", { className: (0, classnames_1.default)(Card_module_scss_1.default.root, className) },
        title && react_1.default.createElement(Text_1.default, { bold: true }, title),
        children && react_1.default.createElement("div", { className: "u-marg-top--medium" }, children)));
};
exports.Card = Card;
//# sourceMappingURL=Card.js.map