Closed aqeelat closed 2 months ago
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days.
This issue was closed because it has been stalled for 14 days with no activity.
The current code could return a single value or an array of values. Always returning an array (or better yet, an object
{from:Date|null, to:Date|null}
), would make the client code more readable. This could be linked to a prop requires both values to be set (to make it less of a breaking change).