feat: add text-to-drawing

This commit is contained in:
are
2023-11-28 18:35:03 +01:00
parent 0958241589
commit 530e92189f
12 changed files with 557 additions and 850 deletions

View File

@@ -7,8 +7,11 @@ const TTDDialogTabs = (
props: {
children: ReactNode;
} & (
| { dialog: "ttd"; tab: "text-to-diagram" | "mermaid" }
| { dialog: "settings"; tab: "text-to-diagram" | "diagram-to-code" }
| { dialog: "ttd"; tab: "text-to-diagram" | "mermaid" | "text-to-drawing" }
| {
dialog: "settings";
tab: "text-to-diagram" | "diagram-to-code";
}
),
) => {
const setAppState = useExcalidrawSetAppState();