mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-19 07:33:12 +09:00
Merge pull request #1010 from bbassie/feature/plugin-browser
Plugin management through web interface
This commit is contained in:
1 parent
e36a76acc5
commit
ffe82f81d8
48 files changed
+4275
-536
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import type { ReactNode } from "react";
|
||||
import { notification } from "antd";
|
||||
import { logger } from "@clusterio/lib";
|
||||
|
||||
@@ -5,7 +6,7 @@ import { logger } from "@clusterio/lib";
|
||||
export default function notify(
|
||||
message: string | Error,
|
||||
type: "success"|"info"|"warning"|"error" = "info",
|
||||
description?: string,
|
||||
description?: ReactNode,
|
||||
) {
|
||||
notification[type]({
|
||||
message: typeof message === "string" ? message : "ERROR: See console",
|
||||
|
||||
Reference in new issue
Block a user