Added more typings

This commit is contained in:
Hugo Häggmark
2019-02-04 11:25:07 +01:00
parent 6b98b05976
commit 5e2b9e40a2
5 changed files with 24 additions and 19 deletions

View File

@@ -1,11 +1,8 @@
import React, { PureComponent } from 'react';
import PromCheatSheet from './PromCheatSheet';
import { ExploreStartPageProps } from '@grafana/ui';
interface Props {
onClickExample: () => void;
}
export default class PromStart extends PureComponent<Props> {
export default class PromStart extends PureComponent<ExploreStartPageProps> {
render() {
return (
<div className="grafana-info-box grafana-info-box--max-lg">