Skip to content

WorkbookEditorProps

Public API of the workbook editor.

React hosts render , or manage one from createWorkbookEditor(options) themselves. Other hosts call mountWorkbookEditor(element, options), or use the custom element from the standalone build. Each gives an EditorHandle to control the editor with.

Property Type Description
className? string -
editor EditorHandle The editor to show, from createWorkbookEditor().
emptyState? (openPicker) => ReactNode Shown before a workbook is opened; receives a function that opens the file picker.
toolbarEnd? ReactNode The host’s own controls, at the end of the toolbar before the Save button.