excalidraw settings

This commit is contained in:
Martin Kavík 2024-10-08 19:12:11 +02:00
parent d7874e728b
commit bdb37a7357
2 changed files with 10 additions and 2 deletions

View file

@ -74750,7 +74750,11 @@ var ExcalidrawController = class {
{
style: { height: "100%" }
},
React.createElement(import_excalidraw.Excalidraw)
React.createElement(import_excalidraw.Excalidraw, {
theme: "dark",
gridModeEnabled: true,
UIOptions: { canvasActions: { toggleTheme: true } }
})
)
);
};

View file

@ -15,7 +15,11 @@ export class ExcalidrawController {
{
style: { height: "100%" },
},
React.createElement(Excalidraw),
React.createElement(Excalidraw, {
theme: 'dark',
gridModeEnabled: true,
UIOptions: { canvasActions: { toggleTheme: true } }
}),
),
);
};