search page + sorting starts
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
import { ICheckbox } from "../types/checkbox";
|
||||
import { IMultirangeSlider } from "../types/multirangeSlider";
|
||||
import { ISwitcher } from "../types/switcher";
|
||||
|
||||
const initialSliders: IMultirangeSlider[] = [
|
||||
{
|
||||
minValue: 1048888,
|
||||
startValue: 1048888,
|
||||
endValue: 2408888,
|
||||
maxValue: 2408888,
|
||||
title: "Cost",
|
||||
unit: "AED",
|
||||
id: "1",
|
||||
},
|
||||
{
|
||||
minValue: 341,
|
||||
startValue: 341,
|
||||
endValue: 891,
|
||||
maxValue: 891,
|
||||
title: "Total Area",
|
||||
unit: "Sqrt",
|
||||
id: "2",
|
||||
},
|
||||
{
|
||||
minValue: 5,
|
||||
startValue: 5,
|
||||
endValue: 81,
|
||||
maxValue: 81,
|
||||
title: "Floor",
|
||||
id: "3",
|
||||
},
|
||||
];
|
||||
|
||||
const initialCheckboxes: ICheckbox[] = [
|
||||
{ title: "Studio Flex", id: "1", disabled: true, selected: false },
|
||||
{ title: "Studio", id: "2", selected: false },
|
||||
{ title: "1 Bedroom", id: "3", selected: false },
|
||||
{ title: "2 Bedroom", id: "4", selected: false },
|
||||
];
|
||||
|
||||
const initialSwitchers: ISwitcher[] = [
|
||||
{ id: "1", title: "Not the first floor", isSwitched: false },
|
||||
{ id: "2", title: "Not the top floor", isSwitched: false },
|
||||
];
|
||||
|
||||
export { initialCheckboxes, initialSliders, initialSwitchers };
|
||||
@@ -0,0 +1,57 @@
|
||||
import { ICheckbox } from "../types/checkbox";
|
||||
import { IMultirangeSlider } from "../types/multirangeSlider";
|
||||
import { ISwitcher } from "../types/switcher";
|
||||
|
||||
const initialSliders: IMultirangeSlider[] = [
|
||||
{
|
||||
minValue: 1048888,
|
||||
startValue: 1048888,
|
||||
endValue: 2408888,
|
||||
maxValue: 2408888,
|
||||
title: "Cost",
|
||||
unit: "AED",
|
||||
id: "1",
|
||||
},
|
||||
{
|
||||
minValue: 341,
|
||||
startValue: 341,
|
||||
endValue: 891,
|
||||
maxValue: 891,
|
||||
title: "Total Area",
|
||||
unit: "Sqrt",
|
||||
id: "2",
|
||||
},
|
||||
{
|
||||
minValue: 5,
|
||||
startValue: 5,
|
||||
endValue: 81,
|
||||
maxValue: 81,
|
||||
title: "Floor",
|
||||
id: "3",
|
||||
},
|
||||
];
|
||||
|
||||
const initialApartmentTypeCheckboxes: ICheckbox[] = [
|
||||
{ title: "Studio Flex", id: "1", disabled: true, selected: false },
|
||||
{ title: "Studio", id: "2", selected: false },
|
||||
{ title: "1 Bedroom", id: "3", selected: false },
|
||||
{ title: "2 Bedroom", id: "4", selected: false },
|
||||
];
|
||||
|
||||
const initialRoveHomeCheckboxes: ICheckbox[] = [
|
||||
{ title: "Downtown", id: "1", disabled: false, selected: false },
|
||||
{ title: "Marasi Drive", id: "2", selected: false },
|
||||
{ title: "Dubai Marina", id: "3", selected: false, disabled: true },
|
||||
];
|
||||
|
||||
const initialSwitchers: ISwitcher[] = [
|
||||
{ id: "1", title: "Not the first floor", isSwitched: false },
|
||||
{ id: "2", title: "Not the top floor", isSwitched: false },
|
||||
];
|
||||
|
||||
export {
|
||||
initialApartmentTypeCheckboxes,
|
||||
initialSliders,
|
||||
initialSwitchers,
|
||||
initialRoveHomeCheckboxes,
|
||||
};
|
||||
Reference in New Issue
Block a user