aboutsummaryrefslogtreecommitdiff
path: root/src/webpack
diff options
context:
space:
mode:
authorV <vendicated@riseup.net>2023-05-13 23:58:24 +0200
committerV <vendicated@riseup.net>2023-05-14 00:10:01 +0200
commitcd53cf38fe6330699495c9c26d29e37322d3082a (patch)
tree3ea6687f85ce0613e03613c3b64669f721447af7 /src/webpack
parentf13f9e80a926fb91ff9c349b708123954d0450ce (diff)
downloadVencord-cd53cf38fe6330699495c9c26d29e37322d3082a.tar.gz
Vencord-cd53cf38fe6330699495c9c26d29e37322d3082a.tar.bz2
Vencord-cd53cf38fe6330699495c9c26d29e37322d3082a.zip
ReverseImageSearch: Add engine icons
Diffstat (limited to 'src/webpack')
-rw-r--r--src/webpack/common/types/menu.d.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webpack/common/types/menu.d.ts b/src/webpack/common/types/menu.d.ts
index 8e9218f..58ea626 100644
--- a/src/webpack/common/types/menu.d.ts
+++ b/src/webpack/common/types/menu.d.ts
@@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import type { ComponentType, CSSProperties, MouseEvent, PropsWithChildren, UIEvent } from "react";
+import type { ComponentType, CSSProperties, MouseEvent, PropsWithChildren, ReactNode, UIEvent } from "react";
type RC<C> = ComponentType<PropsWithChildren<C & Record<string, any>>>;
@@ -35,7 +35,7 @@ export interface Menu {
}>;
MenuItem: RC<{
id: string;
- label: string;
+ label: ReactNode;
action?(e: MouseEvent): void;
icon?: ComponentType<any>;