mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Doc fix: editorController -> editor (#15607)
There is no `editorController` param in createBaseVisualization. I think `editor` was meant instead.
This commit is contained in:
parent
c55beed24f
commit
1d92807a18
1 changed files with 2 additions and 2 deletions
|
@ -219,7 +219,7 @@ These can be either an AngularJS template or React component.
|
|||
title: 'My New Vis',
|
||||
icon: 'my_icon',
|
||||
description: 'Cool new chart',
|
||||
editorController: 'default',
|
||||
editor: 'default',
|
||||
editorConfig: {
|
||||
optionsTemplate: '<my-custom-options-directive></my-custom-options-directive>' // or
|
||||
optionsTemplate: MyReactComponent // or if multiple tabs are required:
|
||||
|
@ -265,7 +265,7 @@ const MyNewVisType = (Private) => {
|
|||
title: 'My New Vis',
|
||||
icon: 'my_icon',
|
||||
description: 'Cool new chart',
|
||||
editorController: MyEditorController,
|
||||
editor: MyEditorController,
|
||||
editorConfig: { my: 'custom config' }
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue