Closed SharfMohiuddin closed 1 year ago
I have changed the size of this Date Range Picker by changing it from the library but its temporary , when I will put cmd npm install all my changes will be gone. Is there any way to get any prop of height and width ? or any other solution please help!
You can copy the file that you changed and put it in your source folder (rename it and export it as "DateRangePickerCustom" to know which one your working with). Be aware of the imports that need to be done to make it work properly. With this done npm install will not override your changes but be aware that you won't benefit the following updates (maybe it does if your component extends the original one).
This technic is applicable for any package that you want to custom 😉
See custom modal of web version you can choose your own modal than :)