mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
6789c6ef39
* Transformations: Remove beta badge for transformations and field overrides * Removed imports * Update doc links
12 lines
508 B
TypeScript
12 lines
508 B
TypeScript
import { DocsId } from '@grafana/data';
|
|
|
|
// TODO: Documentation links
|
|
const DOCS_LINKS: Record<DocsId, string> = {
|
|
[DocsId.Transformations]: 'https://grafana.com/docs/grafana/latest/panels/transformations',
|
|
[DocsId.FieldConfig]: 'https://grafana.com/docs/grafana/latest/panels/field-configuration-options/',
|
|
[DocsId.FieldConfigOverrides]:
|
|
'https://grafana.com/docs/grafana/latest/panels/field-configuration-options/#override-a-field',
|
|
};
|
|
|
|
export const getDocsLink = (id: DocsId) => DOCS_LINKS[id];
|