"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DatasetAlert = void 0;
const react_1 = __importDefault(require("react"));
const DatasetAlert = ({ alert, children, footer, level, }) => (react_1.default.createElement("div", { className: level ? `dataset-header-alert ${level}` : 'dataset-header-alert', role: "alert" },
    react_1.default.createElement("span", null,
        react_1.default.createElement("strong", null,
            alert,
            " "),
        children),
    footer && react_1.default.createElement("small", null, footer)));
exports.DatasetAlert = DatasetAlert;
