mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-11 08:43:55 +00:00
46 lines
1.2 KiB
TypeScript
46 lines
1.2 KiB
TypeScript
import { debugData } from '../../../utils/debugData';
|
|
import { MenuSettings } from '../../menu/list';
|
|
|
|
export const debugMenu = () => {
|
|
debugData<MenuSettings>([
|
|
{
|
|
action: 'setMenu',
|
|
data: {
|
|
// position: "bottom-left",
|
|
title: 'Vehicle garage',
|
|
items: [
|
|
{ label: 'Option 1', icon: 'heart' },
|
|
{
|
|
label: 'Option 2',
|
|
icon: 'basket-shopping',
|
|
description: 'Tooltip description 1',
|
|
checked: true,
|
|
},
|
|
{
|
|
label: 'Vehicle class',
|
|
values: [
|
|
{ label: 'nice', description: 'description 1' },
|
|
{ label: 'even nicer', description: 'description 2' },
|
|
'pogchamp',
|
|
],
|
|
icon: 'tag',
|
|
},
|
|
{ label: 'Option 1' },
|
|
{ label: 'Option 2' },
|
|
{
|
|
label: 'Vehicle class',
|
|
values: ['Nice', 'Super nice', 'Extra nice'],
|
|
defaultIndex: 1,
|
|
},
|
|
{ label: 'Option 1' },
|
|
{ label: 'Option 2' },
|
|
{
|
|
label: 'Vehicle class',
|
|
values: ['Nice', 'Super nice', 'Extra nice'],
|
|
},
|
|
],
|
|
},
|
|
},
|
|
]);
|
|
};
|