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:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user