UNPKG

@rocket.chat/fuselage-toastbar

Version:
8 lines 448 B
import { jsxs as _jsxs } from "react/jsx-runtime"; import { ToastBar } from '@rocket.chat/fuselage'; var ToastBarPersistent = function (_a) { var type = _a.type, message = _a.message, title = _a.title, id = _a.id; return (_jsxs(ToastBar, { variant: type, id: id, isPaused: true, children: [title, message instanceof Error ? String(message) : message] })); }; export default ToastBarPersistent; //# sourceMappingURL=ToastBarPersistent.js.map