shahabyazdi/react-multi-date-picker — reverse-engineered prompt
Reverse engineered prompt
Build me a simple React date picker library that people can drop into their app and use for different calendar types. I want it to work with gregorian, persian, arabic, and indian calendars, and let someone pick a single date, multiple dates, a date range, or multiple ranges. It should have both an input style date picker and a standalone calendar view, with sensible defaults but easy customization for format, locale, months, weekdays, and day rendering.
Please make the look switchable between a normal desktop style and a more mobile friendly style, and leave room for plugin style add ons like extra panels, time picking, or a toolbar. It should support controlled usage with value and onChange, and be flexible about common date inputs.
I also want a small demo or example page that shows the main modes and calendars so it is easy to test. Keep it clean and reusable like a real package someone could publish. If anything is unclear, look up the current docs and examples online and match that behavior closely.
Want more depth? Deep Reverse