Add Support button to create-plugin template

This commit is contained in:
nikek
2020-03-09 16:54:05 +01:00
parent 7a284ad193
commit fa4c7d465f
2 changed files with 5 additions and 4 deletions
@@ -8,6 +8,7 @@ import {
Content,
ContentHeader,
HeaderLabel,
SupportButton
} from '@spotify-backstage/core';
import ExampleFetchComponent from '../ExampleFetchComponent';
@@ -18,7 +19,7 @@ const ExampleComponent: FC<{}> = () => (
<HeaderLabel label="Lifecycle" value="Alpha" />
</Header>
<Content>
<ContentHeader title="Plugin title" />
<ContentHeader title="Plugin title"><SupportButton></SupportButton></ContentHeader>
<Grid
container
spacing={3}
@@ -16,9 +16,9 @@ import GroupIcon from '@material-ui/icons/Group';
// import { StackOverflow, StackOverflowTag } from 'shared/components/layout';
type Props = {
slackChannel: string | string[];
email: string | string[];
plugin: any;
slackChannel?: string | string[];
email?: string | string[];
plugin?: any;
};
const useStyles = makeStyles(theme => ({