Configure date return values and range selection
mainControl how dates are returned to your handlers using these props:
selectRange: Set totrueto allow selecting a start and end date.returnValue: Determines which part of the date is returned whenselectRangeisfalse. Options are'start','end', or'range'(returns an array of two values).allowPartialRange: WhenselectRangeis true, setting this totrueallowsonChangeto be called with a partial result (e.g., only the start date).