chore(web): add prettier and format

This commit is contained in:
Luke
2022-08-27 15:58:36 +02:00
parent cc76d23419
commit 4a5251b60b
44 changed files with 2933 additions and 1984 deletions

View File

@@ -1,35 +1,35 @@
import { ContextMenuProps } from "../../../interfaces/context";
import { debugData } from "../../../utils/debugData";
import { ContextMenuProps } from '../../../interfaces/context';
import { debugData } from '../../../utils/debugData';
export const debugContext = () => {
debugData<ContextMenuProps>([
{
action: "showContext",
action: 'showContext',
data: {
title: "Vehicle garage",
title: 'Vehicle garage',
options: [
{ title: "Empty button" },
{ title: 'Empty button' },
{
title: "Example button",
description: "Example button description",
icon: "inbox",
image: "https://i.imgur.com/YAe7k17.jpeg",
metadata: [{ label: "Value 1", value: 300 }],
title: 'Example button',
description: 'Example button description',
icon: 'inbox',
image: 'https://i.imgur.com/YAe7k17.jpeg',
metadata: [{ label: 'Value 1', value: 300 }],
},
{
title: "Menu button",
icon: "bars",
menu: "other_example_menu",
description: "Takes you to another menu",
metadata: ["It also has metadata support"],
title: 'Menu button',
icon: 'bars',
menu: 'other_example_menu',
description: 'Takes you to another menu',
metadata: ['It also has metadata support'],
},
{
title: "Event button",
description: "Open a menu and send event data",
icon: "check",
title: 'Event button',
description: 'Open a menu and send event data',
icon: 'check',
arrow: true,
event: "some_event",
args: { value1: 300, value2: "Other value" },
event: 'some_event',
args: { value1: 300, value2: 'Other value' },
},
],
},