feat(BOOK-743): Replaced deprecated Button component
Approved-by: Bianca Widstam
This commit is contained in:
@@ -2,7 +2,6 @@ import { useIntl } from "react-intl"
|
||||
|
||||
import { Button } from "@scandic-hotels/design-system/Button"
|
||||
import { Divider } from "@scandic-hotels/design-system/Divider"
|
||||
import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon"
|
||||
import { Typography } from "@scandic-hotels/design-system/Typography"
|
||||
import { ChildBedMapEnum } from "@scandic-hotels/trpc/enums/childBedMapEnum"
|
||||
|
||||
@@ -55,11 +54,9 @@ export function GuestsRoom({
|
||||
variant="Text"
|
||||
onPress={() => onRemove(index)}
|
||||
size="sm"
|
||||
color="Primary"
|
||||
className={styles.roomActionsButton}
|
||||
wrapping
|
||||
leadingIconName="delete"
|
||||
>
|
||||
<MaterialIcon icon="delete" color="CurrentColor" />
|
||||
{intl.formatMessage({
|
||||
id: "bookingWidget.roomsPicker.removeRoom",
|
||||
defaultMessage: "Remove room",
|
||||
|
||||
Reference in New Issue
Block a user