mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-22 10:58:36 +00:00
feat(web/context): allow displaying icons in context menu items
This commit is contained in:
1 parent
92023227cd
commit
4fc6366801
3 files changed
+20
No files matched your search
@@ -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 }
|
||||
|
||||
Reference in new issue
Block a user