mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-19 07:56:02 +01:00
feat(web/context): Allow manually displaying an arrow
This commit is contained in:
@@ -77,7 +77,7 @@ const Item: React.FC<{
|
|||||||
</Box>
|
</Box>
|
||||||
)}
|
)}
|
||||||
</Box>
|
</Box>
|
||||||
{option[1].menu && (
|
{(option[1].menu || option[1].arrow) && (
|
||||||
<>
|
<>
|
||||||
<Spacer />
|
<Spacer />
|
||||||
<Box
|
<Box
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
export interface Option {
|
export interface Option {
|
||||||
menu?: string;
|
menu?: string;
|
||||||
description?: string;
|
description?: string;
|
||||||
|
arrow?: boolean;
|
||||||
metadata?: string[] | { [key: string]: any };
|
metadata?: string[] | { [key: string]: any };
|
||||||
event?: string;
|
event?: string;
|
||||||
serverEvent?: string;
|
serverEvent?: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user