Merged in fix/BOOK-293-button-variants (pull request #3371)
fix(BOOK-293): changed variants and props on IconButton component * fix(BOOK-293): changed variants and props on IconButton component * fix(BOOK-293): inherit color for icon Approved-by: Bianca Widstam Approved-by: Christel Westerberg
This commit is contained in:
committed by
Bianca Widstam
parent
2197ab2137
commit
3f632e6031
@@ -71,9 +71,8 @@ export function InfoCard({
|
||||
<div className={styles.buttonContainer}>
|
||||
{primaryButton ? (
|
||||
<ButtonLink
|
||||
size="Small"
|
||||
size="sm"
|
||||
href={primaryButton.href}
|
||||
typography="Body/Supporting text (caption)/smBold"
|
||||
onClick={primaryButton.onClick}
|
||||
scroll={primaryButton.scrollOnClick ?? false}
|
||||
{...buttonProps.primaryButton}
|
||||
@@ -83,9 +82,8 @@ export function InfoCard({
|
||||
) : null}
|
||||
{secondaryButton ? (
|
||||
<ButtonLink
|
||||
size="Small"
|
||||
size="sm"
|
||||
href={secondaryButton.href}
|
||||
typography="Body/Supporting text (caption)/smBold"
|
||||
onClick={secondaryButton.onClick}
|
||||
scroll={secondaryButton.scrollOnClick ?? false}
|
||||
{...buttonProps.secondaryButton}
|
||||
|
||||
Reference in New Issue
Block a user