feat(BOOK-743): Replaced deprecated Button component
Approved-by: Bianca Widstam
This commit is contained in:
@@ -74,7 +74,8 @@ export function InfoCard({
|
||||
size="sm"
|
||||
href={primaryButton.href}
|
||||
onClick={primaryButton.onClick}
|
||||
scroll={primaryButton.scrollOnClick ?? false}
|
||||
scroll={primaryButton.scrollOnClick}
|
||||
isExternal={primaryButton.isExternal}
|
||||
{...buttonProps.primaryButton}
|
||||
>
|
||||
{primaryButton.text}
|
||||
@@ -85,7 +86,8 @@ export function InfoCard({
|
||||
size="sm"
|
||||
href={secondaryButton.href}
|
||||
onClick={secondaryButton.onClick}
|
||||
scroll={secondaryButton.scrollOnClick ?? false}
|
||||
scroll={secondaryButton.scrollOnClick}
|
||||
isExternal={secondaryButton.isExternal}
|
||||
{...buttonProps.secondaryButton}
|
||||
>
|
||||
{secondaryButton.text}
|
||||
|
||||
Reference in New Issue
Block a user