mirror of
https://github.com/grafana/grafana.git
synced 2025-09-20 15:42:53 +08:00

Co-authored-by: nmarrs <nathanielmarrs@gmail.com> Co-authored-by: Adela Almasan <adela.almasan@grafana.com> Co-authored-by: drew08t <drew08@gmail.com> Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
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%;
|
|
`,
|
|
};
|
|
};
|