mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 03:01:21 -04:00
Migrates vis_controller from mountReactNode
to toMountPoint
(#137636)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
f549513abb
commit
a8ebf5ad36
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ import $ from 'jquery';
|
|||
import React, { RefObject } from 'react';
|
||||
|
||||
import { METRIC_TYPE } from '@kbn/analytics';
|
||||
import { mountReactNode } from '@kbn/core/public/utils';
|
||||
import { toMountPoint } from '@kbn/kibana-react-plugin/public';
|
||||
import { ChartsPluginSetup } from '@kbn/charts-plugin/public';
|
||||
import type { PersistedState } from '@kbn/visualizations-plugin/public';
|
||||
import { IInterpreterRenderHandlers } from '@kbn/expressions-plugin/public';
|
||||
|
@ -163,7 +163,7 @@ export const createVislibVisController = (
|
|||
uiState?: PersistedState
|
||||
) {
|
||||
const { legendPosition } = visParams;
|
||||
this.unmountLegend = mountReactNode(
|
||||
this.unmountLegend = toMountPoint(
|
||||
<VisLegend
|
||||
ref={this.legendRef}
|
||||
vislibVis={this.vislibVis}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue