mirror of
https://github.com/grafana/grafana.git
synced 2025-02-11 08:05:43 -06:00
3c6e0e8ef8
* Add and configure eslint-plugin-import * Fix the lint:ts npm command * Autofix + prettier all the files * Manually fix remaining files * Move jquery code in jest-setup to external file to safely reorder imports * Resolve issue caused by circular dependencies within Prometheus * Update .betterer.results * Fix missing // @ts-ignore * ignore iconBundle.ts * Fix missing // @ts-ignore
35 lines
840 B
TypeScript
35 lines
840 B
TypeScript
// Libraries
|
|
import React, { PureComponent } from 'react';
|
|
|
|
import { PluginConfigPageProps, DataSourcePluginMeta, DataSourceJsonData } from '@grafana/data';
|
|
import { LinkButton } from '@grafana/ui';
|
|
|
|
// Types
|
|
|
|
interface Props extends PluginConfigPageProps<DataSourcePluginMeta<DataSourceJsonData>> {}
|
|
|
|
export class TestInfoTab extends PureComponent<Props> {
|
|
constructor(props: Props) {
|
|
super(props);
|
|
}
|
|
|
|
render() {
|
|
return (
|
|
<div>
|
|
See github for more information about setting up a reproducible test environment.
|
|
<br />
|
|
<br />
|
|
<LinkButton
|
|
variant="secondary"
|
|
href="https://github.com/grafana/grafana/tree/main/devenv"
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
>
|
|
GitHub
|
|
</LinkButton>
|
|
<br />
|
|
</div>
|
|
);
|
|
}
|
|
}
|