mirror of
https://github.com/grafana/grafana.git
synced 2025-02-13 00:55:47 -06:00
* Various ui fixes * Remove unused classes * Fix opening of collapsible * Fix pointer issue * Update e2e test
21 lines
579 B
TypeScript
21 lines
579 B
TypeScript
import React from 'react';
|
|
import { Collapse } from '@grafana/ui';
|
|
import { DataFrame } from '@grafana/data';
|
|
import { TraceView } from './TraceView';
|
|
import { ExploreId, SplitOpen } from '../../../types';
|
|
|
|
interface Props {
|
|
dataFrames: DataFrame[];
|
|
splitOpenFn: SplitOpen;
|
|
exploreId: ExploreId;
|
|
}
|
|
export function TraceViewContainer(props: Props) {
|
|
const { dataFrames, splitOpenFn, exploreId } = props;
|
|
|
|
return (
|
|
<Collapse label="Trace View" isOpen>
|
|
<TraceView exploreId={exploreId} dataFrames={dataFrames} splitOpenFn={splitOpenFn} />
|
|
</Collapse>
|
|
);
|
|
}
|