SHARE
TWEET

Untitled

a guest Feb 27th, 2020 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     handleDateChange = (date): void => {
  2.         this.setState({
  3.             date: date,
  4.         }, () => this.props.getExchangeRates({
  5.             Filter: {
  6.                 Date: FormatDateTimeToInput(date)
  7.             }
  8.         }));
  9.     }
  10.  
  11.  
  12. <DatePicker
  13.                                 disabled={isExchange ? false : true}
  14.                                 id={'DATE'}
  15.                                 date={date}
  16.                                 minDate={moment().subtract(1, 'months')}
  17.                                 maxDate={moment().add(1, 'day')}
  18.                                 onDateChange={this.handleDateChange}
  19.                             />
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top