From c199686c05e5725ef8d1888e868270b623227a8e Mon Sep 17 00:00:00 2001 From: dwelle Date: Thu, 5 Oct 2023 18:17:46 +0200 Subject: [PATCH] feat: support `props.activeTool` --- .../@excalidraw/excalidraw/api/props/props.mdx | 18 +++++++++++++++++- src/components/App.tsx | 7 +++++++ src/packages/excalidraw/index.tsx | 2 ++ src/types.ts | 8 ++++++++ 4 files changed, 34 insertions(+), 1 deletion(-) diff --git a/dev-docs/docs/@excalidraw/excalidraw/api/props/props.mdx b/dev-docs/docs/@excalidraw/excalidraw/api/props/props.mdx index 5764528b6..02be11296 100644 --- a/dev-docs/docs/@excalidraw/excalidraw/api/props/props.mdx +++ b/dev-docs/docs/@excalidraw/excalidraw/api/props/props.mdx @@ -30,6 +30,7 @@ All `props` are *optional*. | [`generateIdForFile`](#generateidforfile) | `function` | _ | Allows you to override `id` generation for files added on canvas | | [`validateEmbeddable`](#validateEmbeddable) | string[] | `boolean | RegExp | RegExp[] | ((link: string) => boolean | undefined)` | \_ | use for custom src url validation | | [`renderEmbeddable`](/docs/@excalidraw/excalidraw/api/props/render-props#renderEmbeddable) | `function` | \_ | Render function that can override the built-in `