"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Codeblock = void 0;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const nano_theme_1 = require("nano-theme");
const styles_1 = require("nice-ui/lib/styles");
const blockClass = (0, nano_theme_1.rule)({
    ...styles_1.fonts.get('mono', 'mid'),
    bg: 'rgba(0,0,0,.02)',
    // pd: '16px',
    pd: 'calc(max(16px, 1em))',
    bdrad: 'calc(max(16px, 1em))',
    fz: '.85em',
    lh: '1.4em',
});
const Codeblock = ({ block, children }) => {
    return (React.createElement("pre", { className: blockClass },
        React.createElement("code", null, children)));
};
exports.Codeblock = Codeblock;
//# sourceMappingURL=Codeblock.js.map