mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 21:32:20 +08:00

* update eslint, tsconfig + esbuild to handle new jsx transform * remove thing that breaks the new jsx transform * remove react imports * adjust grafana-icons build * is this the correct syntax? * try this * well this was much easier than expected... * change grafana-plugin-configs webpack config * fixes * fix lockfile * fix 2 more violations * use path.resolve instead of require.resolve * remove react import * fix react imports * more fixes * remove React import * remove import React from docs * remove another react import
35 lines
833 B
TypeScript
35 lines
833 B
TypeScript
// Libraries
|
|
import { 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>
|
|
);
|
|
}
|
|
}
|