import { memo } from 'react'; import { CoreApp } from '@grafana/data'; import { LokiQueryEditor } from './LokiQueryEditor'; import { LokiQueryEditorForAlerting } from './LokiQueryEditorForAlerting'; import { LokiQueryEditorProps } from './types'; export function LokiQueryEditorByApp(props: LokiQueryEditorProps) { const { app } = props; switch (app) { case CoreApp.CloudAlerting: return ; default: return ; } } export default memo(LokiQueryEditorByApp); export const testIds = { editor: 'loki-editor', };