update App.js, src/components/DateRangePicker/index.js and src/components/TestComponentNew/index.js

master
mahdi andalib 3 years ago
parent 07a3b6e0f8
commit 6b4a0f2eb4
  1. 3
      src/components/DateRangePicker/index.js

@ -37,7 +37,7 @@ function CustomRangeInput({ openCalendar, value }) {
// let from = value[0] || "";
// let to = value[1] || "";
// value = from && to ? "از " + from + "، تا " + to": from
value = from && to ? "از " + from + "، تا " + to": from
useEffect(() => {
openCalendar();
}, []);
@ -64,6 +64,7 @@ const DateRangePicker = () => {
minDate={new Date()}
renderButton={<CustomButton />}
render={<CustomRangeInput />}
onClose={() => false}
calendarPosition="bottom-right"
// plugins={[<DatePanel position="bottom" />]}
/>

Loading…
Cancel
Save