mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
add tools to UIOptions
This commit is contained in:
parent
65047cc2cb
commit
45fd464a47
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ This prop can be used to customise UI of Excalidraw. Currently we support custom
|
|||
{
|
||||
<br /> canvasActions?: <a href="https://github.com/excalidraw/excalidraw/blob/master/packages/excalidraw/types.ts#L372">
|
||||
CanvasActions
|
||||
</a>, <br /> dockedSidebarBreakpoint?: number, <br /> welcomeScreen?: boolean <br />
|
||||
</a>, <br /> dockedSidebarBreakpoint?: number, <br /> welcomeScreen?: boolean, <br /> tools?: { <br /> image: boolean <br /> } <br />
|
||||
|
||||
}
|
||||
</pre>
|
||||
|
@ -78,4 +78,4 @@ Currently you can control the visibility of `image` tool via this prop.
|
|||
|
||||
| Prop | Type | Default | Description |
|
||||
| --- | --- | --- | --- |
|
||||
| image | boolean | true | Decides whether `image` tool should be visible.
|
||||
| image | boolean | true | Decides whether `image` tool should be visible.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue