mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 15:36:02 +01:00
20 lines
340 B
TypeScript
20 lines
340 B
TypeScript
export interface Option {
|
|
menu?: string;
|
|
description?: string;
|
|
arrow?: boolean;
|
|
metadata?: string[] | { [key: string]: any };
|
|
event?: string;
|
|
serverEvent?: string;
|
|
args?: any;
|
|
}
|
|
|
|
export interface Options {
|
|
[key: string]: Option;
|
|
}
|
|
|
|
export interface ContextMenuProps {
|
|
title: string;
|
|
menu?: string;
|
|
options: Options;
|
|
}
|