Files
ox_lib/web/src/features/dev/debug/radial.ts
T

19 lines
551 B
TypeScript
Raw Normal View History

import { debugData } from '../../../utils/debugData';
import type { MenuItem } from '../../../typings';
export const debugRadial = () => {
debugData<{ items: MenuItem[]; sub?: boolean }>([
{
action: 'openRadialMenu',
data: {
items: [
{ icon: 'palette', label: 'Paint' },
{ icon: 'warehouse', label: 'Garage' },
2023-05-01 02:07:17 -07:00
{ icon: 'palette', label: 'Quite long \ntext' },
{ icon: 'palette', label: 'Paint' },
{ icon: 'warehouse', label: 'Garage' },
],
},
},
]);
};