Add HeaderLabels

This commit is contained in:
Stefan Ålund
2020-03-07 19:57:54 +01:00
parent d373f5428b
commit 7b81a8c381
@@ -7,6 +7,7 @@ import {
theme as pageTheme,
Content,
ContentHeader,
HeaderLabel,
} from '@spotify-backstage/core';
import ExampleFetchComponent from '../ExampleFetchComponent';
@@ -26,7 +27,10 @@ const ExampleComponent: FC<{}> = () => {
return (
<Page theme={pageTheme.tool}>
<div className={classes.mainContentArea}>
<Header title="Welcome to {{ id }}!" subtitle="Optional subtitle" />
<Header title="Welcome to {{ id }}!" subtitle="Optional subtitle">
<HeaderLabel label="Owner" value="Team X" />
<HeaderLabel label="Lifecycle" value="Alpha" />
</Header>
<Content>
<ContentHeader title="Plugin title" />
<Grid