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
@@ -159,7 +159,7 @@ export default function Form({ user }: EditFormProps) {
|
||||
defaultMessage: "Discard unsaved changes?",
|
||||
})}
|
||||
trigger={
|
||||
<Button variant="Secondary" size="Small" color="Primary">
|
||||
<Button variant="Secondary" size="sm" color="Primary">
|
||||
{intl.formatMessage({
|
||||
id: "editProfile.discardChanges",
|
||||
defaultMessage: "Discard changes",
|
||||
@@ -171,7 +171,7 @@ export default function Form({ user }: EditFormProps) {
|
||||
isDisabled={!isValid || methods.formState.isSubmitting}
|
||||
form={formId}
|
||||
variant="Primary"
|
||||
size="Small"
|
||||
size="sm"
|
||||
color="Primary"
|
||||
type="submit"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user