Since Excalidraw doesn't support server side rendering yet so you will have to make sure the component is rendered once host is mounted.
@ -356,7 +361,10 @@ export default function IndexPage() {
}
```
### Props
</details>
<detailsid="props">
<summary><strong>Props</strong></summary>
| Name | Type | Default | Description |
| --- | --- | --- | --- |
@ -539,7 +547,10 @@ This prop controls Excalidraw's theme. When supplied, the value takes precedence
This prop sets the name of the drawing which will be used when exporting the drawing. When supplied, the value takes precedence over `intialData.appState.name`, the `name` will be fully controlled by host app and the users won't be able to edit from within Excalidraw.
### Extra API's
</details>
<detailsid="extra-apis">
<summary><strong>Extra API's</strong></summary>
#### `getSceneVersion`
@ -584,6 +595,9 @@ import { getElementsMap } from "@excalidraw/excalidraw";
This function returns an object where each element is mapped to its id.
@ -632,7 +646,7 @@ import { restore } from "@excalidraw/excalidraw";
This function makes sure elements and state is set to appropriate values and set to default value if not present. It is combination of [restoreElements](#restoreElements) and [restoreAppState](#restoreAppState)
**_The below APIs will be available in [next version](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/CHANGELOG.md#unreleased)_**