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
@@ -131,8 +131,7 @@ export default function GuestsRoomsPickerDialog({
|
||||
wrapping
|
||||
onPress={handleAddRoom}
|
||||
isDisabled
|
||||
size="Small"
|
||||
typography="Body/Supporting text (caption)/smBold"
|
||||
size="sm"
|
||||
>
|
||||
<MaterialIcon icon="add" color="CurrentColor" />
|
||||
{addRoomLabel}
|
||||
@@ -163,8 +162,7 @@ export default function GuestsRoomsPickerDialog({
|
||||
wrapping
|
||||
color="Primary"
|
||||
onPress={handleAddRoom}
|
||||
size="Small"
|
||||
typography="Body/Supporting text (caption)/smBold"
|
||||
size="sm"
|
||||
>
|
||||
<MaterialIcon icon="add" color="CurrentColor" />
|
||||
{addRoomLabel}
|
||||
@@ -187,9 +185,8 @@ export default function GuestsRoomsPickerDialog({
|
||||
wrapping
|
||||
color="Primary"
|
||||
isDisabled
|
||||
size="Small"
|
||||
size="sm"
|
||||
onPress={handleAddRoom}
|
||||
typography="Body/Supporting text (caption)/smBold"
|
||||
>
|
||||
<MaterialIcon icon="add_circle" color="CurrentColor" />
|
||||
{addRoomLabel}
|
||||
@@ -204,9 +201,8 @@ export default function GuestsRoomsPickerDialog({
|
||||
variant="Text"
|
||||
wrapping
|
||||
color="Primary"
|
||||
size="Small"
|
||||
size="sm"
|
||||
onPress={handleAddRoom}
|
||||
typography="Body/Supporting text (caption)/smBold"
|
||||
>
|
||||
<MaterialIcon icon="add_circle" color="CurrentColor" />
|
||||
{addRoomLabel}
|
||||
@@ -220,8 +216,7 @@ export default function GuestsRoomsPickerDialog({
|
||||
className={styles.hideOnDesktop}
|
||||
variant="Tertiary"
|
||||
color="Primary"
|
||||
size="Small"
|
||||
typography="Body/Supporting text (caption)/smBold"
|
||||
size="sm"
|
||||
>
|
||||
{doneLabel}
|
||||
</Button>
|
||||
@@ -231,8 +226,7 @@ export default function GuestsRoomsPickerDialog({
|
||||
className={styles.hideOnMobile}
|
||||
variant="Tertiary"
|
||||
color="Primary"
|
||||
size="Small"
|
||||
typography="Body/Supporting text (caption)/smBold"
|
||||
size="sm"
|
||||
>
|
||||
{doneLabel}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user