UNPKG

@rocket.chat/fuselage-toastbar

Version:
9 lines 508 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const jsx_runtime_1 = require("react/jsx-runtime"); const fuselage_1 = require("@rocket.chat/fuselage"); const ToastBarPersistent = ({ type, message, title, id, }) => { return ((0, jsx_runtime_1.jsxs)(fuselage_1.ToastBar, { variant: type, id: id, isPaused: true, children: [title, message instanceof Error ? String(message) : message] })); }; exports.default = ToastBarPersistent; //# sourceMappingURL=ToastBarPersistent.js.map