fix: use outlined button as registering existing component is not a primary action

Signed-off-by: Carl-Erik Bergström <cbergstrom@spotify.com>
This commit is contained in:
Carl-Erik Bergström
2024-09-18 11:59:32 +02:00
parent 27b099cbe2
commit 94a7bcdee9
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder': patch
---
Change "Register Existing Component" CTA to outlined as it's not a primary action on the scaffolder pages
@@ -61,7 +61,7 @@ export const RegisterExistingButton = (props: RegisterExistingButtonProps) => {
<AddCircleOutline />
</IconButton>
) : (
<Button component={RouterLink} variant="contained" color="primary" to={to}>
<Button component={RouterLink} variant="outlined" color="primary" to={to}>
{title}
</Button>
);