feat(SW-1988): Replaced current bed component with new design
Approved-by: Chuma Mcphoy (We Ahead)
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
import {
|
||||
BedBunkExtraIcon,
|
||||
BedGenericIcon,
|
||||
BedKingIcon,
|
||||
BedPullOutExtraIcon,
|
||||
BedQueenIcon,
|
||||
BedSingleIcon,
|
||||
BedSofaExtraIcon,
|
||||
BedTwinIcon,
|
||||
BedWallExtraIcon,
|
||||
type IconProps,
|
||||
MaterialIcon,
|
||||
MdiBunkBedIcon,
|
||||
MovingBedsIcon,
|
||||
WardIcon,
|
||||
} from "@scandic-hotels/design-system/Icons"
|
||||
|
||||
export enum BookingStatusEnum {
|
||||
@@ -142,15 +147,16 @@ export const BED_TYPE_ICONS: Record<
|
||||
BedTypes,
|
||||
(props: IconProps) => JSX.Element
|
||||
> = {
|
||||
King: () => <MaterialIcon icon="king_bed" />,
|
||||
Queen: () => <MaterialIcon icon="bed" />,
|
||||
Single: () => <MaterialIcon icon="single_bed" />,
|
||||
Twin: () => <MaterialIcon icon="bed" />,
|
||||
SofaBed: () => <MaterialIcon icon="chair" />,
|
||||
WallBed: WardIcon,
|
||||
BunkBed: MdiBunkBedIcon,
|
||||
PullOutBed: MovingBedsIcon,
|
||||
Other: () => <MaterialIcon icon="single_bed" />,
|
||||
King: BedKingIcon,
|
||||
Queen: BedQueenIcon,
|
||||
Single: BedSingleIcon,
|
||||
Twin: BedTwinIcon,
|
||||
|
||||
SofaBed: BedSofaExtraIcon,
|
||||
WallBed: BedWallExtraIcon,
|
||||
BunkBed: BedBunkExtraIcon,
|
||||
PullOutBed: BedPullOutExtraIcon,
|
||||
Other: BedGenericIcon,
|
||||
}
|
||||
|
||||
export enum CancellationRuleEnum {
|
||||
|
||||
Reference in New Issue
Block a user