Get rid of usages of the old Button

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2023-02-20 11:09:08 +01:00
parent bc6653f4e2
commit c10384a923
16 changed files with 59 additions and 43 deletions
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import { Button } from '@backstage/core-components';
import { LinkButton } from '@backstage/core-components';
import { lightTheme } from '@backstage/theme';
import { Grid } from '@material-ui/core';
import CssBaseline from '@material-ui/core/CssBaseline';
@@ -66,7 +66,7 @@ export const WithSecondaryAction = () => {
<DefaultResultListItem
result={mockSearchResult}
secondaryAction={
<Button
<LinkButton
to="#"
size="small"
aria-label="owner"
@@ -75,7 +75,7 @@ export const WithSecondaryAction = () => {
style={{ textTransform: 'lowercase' }}
>
{mockSearchResult.owner}
</Button>
</LinkButton>
}
/>
);