Merged in feat/sw-620-sort-hotels (pull request #868)
Feat/sw-620 sort hotels * SW-620 Add radio button to select box * feat(SW-620): Implement sorting on select hotel * Fix casing * Shallow copy hoteldata * Use translations * Remove unnecessary style * Import order * Type Approved-by: Pontus Dreij
This commit is contained in:
11
types/components/hotelReservation/selectHotel/hotelSorter.ts
Normal file
11
types/components/hotelReservation/selectHotel/hotelSorter.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
export const enum SortOrder {
|
||||
Distance = "distance",
|
||||
Name = "name",
|
||||
Price = "price",
|
||||
TripAdvisorRating = "tripadvisor",
|
||||
}
|
||||
|
||||
export type SortItem = {
|
||||
label: string
|
||||
value: string
|
||||
}
|
||||
Reference in New Issue
Block a user