diff --git a/src/plugins/visualizations/public/embeddable/disabled_lab_visualization.scss b/src/plugins/visualizations/public/embeddable/disabled_lab_visualization.scss deleted file mode 100644 index a5bce2d7a2c46..0000000000000 --- a/src/plugins/visualizations/public/embeddable/disabled_lab_visualization.scss +++ /dev/null @@ -1,4 +0,0 @@ -.visDisabledLabVisualization { - width: 100%; - height: fit-content -} diff --git a/src/plugins/visualizations/public/embeddable/disabled_lab_visualization.tsx b/src/plugins/visualizations/public/embeddable/disabled_lab_visualization.tsx index c6ff920dabb43..3bfabf27e0fc0 100644 --- a/src/plugins/visualizations/public/embeddable/disabled_lab_visualization.tsx +++ b/src/plugins/visualizations/public/embeddable/disabled_lab_visualization.tsx @@ -17,14 +17,12 @@ * under the License. */ -import { FormattedMessage } from '@kbn/i18n/react'; -import { EuiCallOut } from '@elastic/eui'; +import { FormattedMessage, I18nProvider } from '@kbn/i18n/react'; +import { EuiEmptyPrompt } from '@elastic/eui'; import React from 'react'; -import './disabled_lab_visualization.scss'; - export function DisabledLabVisualization({ title }: { title: string }) { - const calloutTitle = ( + const promptTitle = ( ); return ( - - + + } /> - + ); }