grafana/public/app/plugins/datasource/influxdb/components/InfluxCheatSheet.tsx
Torkel Ödegaard 1d689888b0
Prettier: Upgrade to 2 (#30387)
* Updated package json but not updated source files

* Update eslint plugin

* updated files
2021-01-20 07:59:48 +01:00

24 lines
637 B
TypeScript

import React from 'react';
const CHEAT_SHEET_ITEMS = [
{
title: 'Getting started',
label:
'Start by selecting a measurement and field from the dropdown above. You can then use the tag selector to further narrow your search.',
},
];
const InfluxCheatSheet = (props: any) => (
<div>
<h2>InfluxDB Cheat Sheet</h2>
{CHEAT_SHEET_ITEMS.map((item) => (
<div className="cheat-sheet-item" key={item.title}>
<div className="cheat-sheet-item__title">{item.title}</div>
<div className="cheat-sheet-item__label">{item.label}</div>
</div>
))}
</div>
);
export default InfluxCheatSheet;