mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
26 lines
529 B
TypeScript
26 lines
529 B
TypeScript
|
|
import { css } from '@emotion/css';
|
||
|
|
import React from 'react';
|
||
|
|
|
||
|
|
import { GrafanaTheme2 } from '@grafana/data/src';
|
||
|
|
import { useStyles2 } from '@grafana/ui/src';
|
||
|
|
|
||
|
|
import QueryLibrarySearchTable from './QueryLibrarySearchTable';
|
||
|
|
|
||
|
|
export const Queries = () => {
|
||
|
|
const styles = useStyles2(getStyles);
|
||
|
|
|
||
|
|
return (
|
||
|
|
<div className={styles.tableWrapper}>
|
||
|
|
<QueryLibrarySearchTable />
|
||
|
|
</div>
|
||
|
|
);
|
||
|
|
};
|
||
|
|
|
||
|
|
export const getStyles = (theme: GrafanaTheme2) => {
|
||
|
|
return {
|
||
|
|
tableWrapper: css`
|
||
|
|
height: 100%;
|
||
|
|
`,
|
||
|
|
};
|
||
|
|
};
|