/*!
 * KoliBri - The accessible HTML-Standard
 */
import { __rest } from "tslib";
import { h } from "@stencil/core";
import clsx from "../../utils/clsx";
import KolAlertFc from "../Alert";
const ToastItemFc = (_a) => {
    var { status, toast, onClose } = _a, other = __rest(_a, ["status", "toast", "onClose"]);
    const { type, label, description, variant } = toast;
    return (h("div", { class: clsx('kol-toast-item', `kol-toast-item--${status}`) }, h(KolAlertFc, { class: "kol-toast-item__alert", alert: true, label: label, level: 0, hasCloser: true, type: type, variant: variant || 'card', onCloserClick: onClose }, h("div", Object.assign({}, other), description))));
};
export default ToastItemFc;
//# sourceMappingURL=ToastItem.js.map
