"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Spoiler = void 0;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const nano_theme_1 = require("nano-theme");
const blockClass = (0, nano_theme_1.rule)({
    bg: '#222',
    col: 'transparent',
    bdrad: '2px',
    '&:hover': {
        bg: '#222',
        col: 'rgba(255, 255, 255, 0.2)',
    },
});
const Spoiler = (props) => {
    const { children } = props;
    return React.createElement("span", { className: blockClass }, children);
};
exports.Spoiler = Spoiler;
//# sourceMappingURL=Spoiler.js.map