|
|
@ -25,16 +25,18 @@ function CustomRangeInput({ openCalendar, value }) { |
|
|
|
}, []); |
|
|
|
}, []); |
|
|
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<div className="flex flex-row items-center "> |
|
|
|
<div className="flex flex-row items-center justify-center"> |
|
|
|
<input |
|
|
|
<input |
|
|
|
className="w-full py-1 text-center text-sm rounded border border-gray-200 focus:outline-none focus:border-[#0074d9] focus:ring-[#0074d9] focus:ring-1" |
|
|
|
style={{ width: "33%" }} |
|
|
|
|
|
|
|
className="py-1 text-center text-sm rounded border border-gray-200 focus:outline-none focus:border-[#0074d9] focus:ring-[#0074d9] focus:ring-1" |
|
|
|
onFocus={openCalendar} |
|
|
|
onFocus={openCalendar} |
|
|
|
value={value[0]} |
|
|
|
value={value[0]} |
|
|
|
readOnly |
|
|
|
readOnly |
|
|
|
/> |
|
|
|
/> |
|
|
|
<p className="mx-2 text-sm">تا</p> |
|
|
|
<p className="mx-2 text-sm">تا</p> |
|
|
|
<input |
|
|
|
<input |
|
|
|
className="w-full py-1 text-center text-sm rounded border border-gray-200 focus:outline-none focus:border-[#0074d9] focus:ring-[#0074d9] focus:ring-1" |
|
|
|
style={{ width: "33%" }} |
|
|
|
|
|
|
|
className="py-1 text-center text-sm rounded border border-gray-200 focus:outline-none focus:border-[#0074d9] focus:ring-[#0074d9] focus:ring-1" |
|
|
|
onFocus={openCalendar} |
|
|
|
onFocus={openCalendar} |
|
|
|
value={value[1]} |
|
|
|
value={value[1]} |
|
|
|
readOnly |
|
|
|
readOnly |
|
|
|