fixed logging start page

This commit is contained in:
Torkel Ödegaard
2018-12-04 12:59:24 +01:00
parent ac6170a7cc
commit 47523f80dd
5 changed files with 14 additions and 55 deletions

View File

@@ -21,7 +21,7 @@ const CHEAT_SHEET_ITEMS = [
export default (props: any) => (
<div>
<h1>PromQL Cheat Sheet</h1>
<h2>PromQL Cheat Sheet</h2>
{CHEAT_SHEET_ITEMS.map(item => (
<div className="cheat-sheet-item" key={item.expression}>
<div className="cheat-sheet-item__title">{item.title}</div>

View File

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