D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
share
/
grafana
/
public
/
app
/
plugins
/
datasource
/
tempo
/
SearchTraceQLEditor
/
Filename :
InlineSearchField.tsx
back
Copy
import React from 'react'; import { InlineFieldRow, InlineField } from '@grafana/ui'; interface Props { label: string; tooltip?: string; children: React.ReactElement; } const SearchField = ({ label, tooltip, children }: Props) => { return ( <InlineFieldRow> <InlineField label={label} labelWidth={28} grow tooltip={tooltip}> {children} </InlineField> </InlineFieldRow> ); }; export default SearchField;