mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 15:06: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>
|
||||
{option[1].menu && (
|
||||
{(option[1].menu || option[1].arrow) && (
|
||||
<>
|
||||
<Spacer />
|
||||
<Box
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
export interface Option {
|
||||
menu?: string;
|
||||
description?: string;
|
||||
arrow?: boolean;
|
||||
metadata?: string[] | { [key: string]: any };
|
||||
event?: string;
|
||||
serverEvent?: string;
|
||||
|
||||
Reference in New Issue
Block a user