fix: support menu items should not be buttons in favour of links
Signed-off-by: Carl-Erik Bergström <cbergstrom@spotify.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/core-components': patch
|
||||
---
|
||||
|
||||
Support menu items should not be buttons in favour of links
|
||||
@@ -67,7 +67,7 @@ const SupportLink = ({ link }: { link: SupportItemLink }) => (
|
||||
|
||||
const SupportListItem = ({ item }: { item: SupportItem }) => {
|
||||
return (
|
||||
<MenuItem>
|
||||
<MenuItem button={false}>
|
||||
<ListItemIcon>
|
||||
<SupportIcon icon={item.icon} />
|
||||
</ListItemIcon>
|
||||
@@ -161,6 +161,7 @@ export function SupportButton(props: SupportButtonProps) {
|
||||
)}
|
||||
{React.Children.map(children, (child, i) => (
|
||||
<MenuItem
|
||||
button={false}
|
||||
alignItems="flex-start"
|
||||
key={`child-${i}`}
|
||||
className={classes.menuItem}
|
||||
|
||||
Reference in New Issue
Block a user