|
@@ -703,7 +703,7 @@ This prop sets the name of the drawing which will be used when exporting the dra
|
|
|
|
|
|
#### `UIOptions`
|
|
|
|
|
|
-This prop can be used to customise UI of Excalidraw. Currently we support customising [`canvasActions`](#canvasActions) and [`dockedSidebarBreakpoint`](dockedSidebarBreakpoint). It accepts the below parameters
|
|
|
+This prop can be used to customise UI of Excalidraw. Currently we support customising [`canvasActions`](#canvasActions), [`dockedSidebarBreakpoint`](dockedSidebarBreakpoint), and ['showLanguageList`](showLanguageList). It accepts the below parameters
|
|
|
|
|
|
<pre>
|
|
|
{ canvasActions: <a href="https://github.com/excalidraw/excalidraw/blob/master/src/types.ts#L208"> CanvasActions<a/> }
|
|
@@ -720,7 +720,6 @@ This prop can be used to customise UI of Excalidraw. Currently we support custom
|
|
|
| `saveToActiveFile` | boolean | true | Implies whether to show `Save button` to save to current file |
|
|
|
| `toggleTheme` | boolean | null | null | Implies whether to show `Theme toggle`. When defined as `boolean`, takes precedence over [`props.theme`](#theme) to show `Theme toggle` |
|
|
|
| `saveAsImage` | boolean | true | Implies whether to show `Save as image button` |
|
|
|
-| `languageList` | boolean | true | Implies whether to show the `Language Selector Dropdown list` |
|
|
|
|
|
|
##### `dockedSidebarBreakpoint`
|
|
|
|
|
@@ -728,6 +727,10 @@ This prop indicates at what point should we break to a docked, permanent sidebar
|
|
|
|
|
|

|
|
|
|
|
|
+### `showLanguageList`
|
|
|
+
|
|
|
+Boolean prop. If set to `true` the `language selector dropdown list` will be hidden in the app menu. If `false` or `undefined` the language dropdown will be rendered.
|
|
|
+
|
|
|
#### `exportOpts`
|
|
|
|
|
|
The below attributes can be set in `UIOptions.canvasActions.export` to customize the export dialog. If `UIOptions.canvasActions.export` is `false` the export button will not be rendered.
|