Merge pull request #26769 from backstage/fix/clarify-register-existing-component-cta

Registering Existing Component CTA should be a secondary action
This commit is contained in:
Ben Lambert
2024-10-01 10:57:14 +02:00
committed by GitHub
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>
);