feat(SW-718) refactor: optimize rate selection and room scrolling

This commit is contained in:
Pontus Dreij
2025-01-28 18:33:10 +01:00
parent ab7b826cd2
commit eef7c222aa
4 changed files with 11 additions and 8 deletions

View File

@@ -14,8 +14,8 @@ export interface DefaultFilterOptions {
itemCode: string | undefined
}
export interface FilterValues {
[key: string]: boolean | undefined
export type FilterValues = {
[K in RoomPackageCodeEnum]?: boolean
}
export interface RoomFilterProps {
numberOfRooms: number