Add Support button to create-plugin template
This commit is contained in:
+2
-1
@@ -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 => ({
|
||||
|
||||
Reference in New Issue
Block a user