@grafana/ui
Version:
Grafana Components Library
14 lines (13 loc) • 662 B
TypeScript
import React from 'react';
import { Field, LinkModel, LogLabelStatsModel } from '@grafana/data';
import { Themeable } from '../../types/theme';
export interface Props extends Themeable {
parsedValue: string;
parsedKey: string;
isLabel?: boolean;
onClickFilterLabel?: (key: string, value: string) => void;
onClickFilterOutLabel?: (key: string, value: string) => void;
links?: Array<LinkModel<Field>>;
getStats: () => LogLabelStatsModel[] | null;
}
export declare const LogDetailsRow: React.FunctionComponent<Pick<Props, "links" | "isLabel" | "parsedValue" | "parsedKey" | "onClickFilterLabel" | "onClickFilterOutLabel" | "getStats">>;