2019-05-13 22:55:49 -07:00
|
|
|
// Libraries
|
|
|
|
|
import React, { PureComponent } from 'react';
|
|
|
|
|
|
|
|
|
|
// Types
|
|
|
|
|
import { PluginConfigPageProps, DataSourcePlugin } from '@grafana/ui';
|
2019-08-06 18:17:12 +02:00
|
|
|
import { TestDataDataSource } from './datasource';
|
2019-05-13 22:55:49 -07:00
|
|
|
|
2019-08-06 18:17:12 +02:00
|
|
|
interface Props extends PluginConfigPageProps<DataSourcePlugin<TestDataDataSource>> {}
|
2019-05-13 22:55:49 -07:00
|
|
|
|
|
|
|
|
export class TestInfoTab extends PureComponent<Props> {
|
|
|
|
|
constructor(props: Props) {
|
|
|
|
|
super(props);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
|
return (
|
|
|
|
|
<div>
|
|
|
|
|
See github for more information about setting up a reproducable test environment.
|
|
|
|
|
<br />
|
|
|
|
|
<br />
|
2019-09-03 09:29:02 +01:00
|
|
|
<a
|
|
|
|
|
className="btn btn-inverse"
|
|
|
|
|
href="https://github.com/grafana/grafana/tree/master/devenv"
|
|
|
|
|
target="_blank"
|
|
|
|
|
rel="noopener"
|
|
|
|
|
>
|
2019-05-13 22:55:49 -07:00
|
|
|
Github
|
|
|
|
|
</a>
|
|
|
|
|
<br />
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|