Small tweaks to the SupportButton use

This commit is contained in:
Stefan Ålund
2020-03-09 20:00:20 +01:00
parent fa4c7d465f
commit bc37fe1f76
2 changed files with 7 additions and 3 deletions
@@ -8,7 +8,7 @@ import {
Content,
ContentHeader,
HeaderLabel,
SupportButton
SupportButton,
} from '@spotify-backstage/core';
import ExampleFetchComponent from '../ExampleFetchComponent';
@@ -19,7 +19,9 @@ const ExampleComponent: FC<{}> = () => (
<HeaderLabel label="Lifecycle" value="Alpha" />
</Header>
<Content>
<ContentHeader title="Plugin title"><SupportButton></SupportButton></ContentHeader>
<ContentHeader title="Plugin title">
<SupportButton>A description of your plugin goes here.</SupportButton>
</ContentHeader>
<Grid
container
spacing={3}
@@ -11,6 +11,8 @@ import {
ListItemText,
} from '@material-ui/core';
import GroupIcon from '@material-ui/icons/Group';
import HelpIcon from '@material-ui/icons/Help';
// import { EmailIcon, SlackIcon, SupportIcon } from 'shared/icons';
// import { Button, Link } from 'shared/components';
// import { StackOverflow, StackOverflowTag } from 'shared/components/layout';
@@ -61,7 +63,7 @@ const SupportButton: FC<Props> = ({
return (
<Fragment>
<Button color="primary" onClick={onClickHandler}>
<GroupIcon className={classes.leftIcon} />
<HelpIcon className={classes.leftIcon} />
Support
</Button>
<Popover