/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. */ import React from 'react'; import { get } from 'lodash'; import ContentPanel from '../../../../components/ContentPanel/ContentPanel'; import { EuiButton, EuiFlexGroup, EuiFlexItem, EuiTitle, EuiLink, EuiCard, EuiHorizontalRule, } from '@elastic/eui'; import { PLUGIN_NAME } from '../../../../utils/constants'; interface SampleDataBoxProps { title: string; icon: any; description: string; loadDataButtonDescription: string; onOpenFlyout(): void; onLoadData(): void; isLoadingData: boolean; isDataLoaded: boolean; detectorId: string; buttonDataTestSubj?: string; } export const SampleDataBox = (props: SampleDataBoxProps) => { return (
{props.description}