feat(web/context): allow displaying icons in context menu items

This commit is contained in:
Luke committed 2022-07-07 14:53:36 +02:00
1 parent 92023227cd
commit 4fc6366801
3 files changed
+20

No files matched your search

+4
View File
@@ -1,9 +1,13 @@
import { IconProp } from "@fortawesome/fontawesome-svg-core";
export interface Option {
menu?: string;
title?: string;
description?: string;
arrow?: boolean;
image?: string;
icon?: IconProp;
iconColor?: string;
metadata?:
| string[]
| { [key: string]: any }