Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- handleDateChange = (date): void => {
- this.setState({
- date: date,
- }, () => this.props.getExchangeRates({
- Filter: {
- Date: FormatDateTimeToInput(date)
- }
- }));
- }
- <DatePicker
- disabled={isExchange ? false : true}
- id={'DATE'}
- date={date}
- minDate={moment().subtract(1, 'months')}
- maxDate={moment().add(1, 'day')}
- onDateChange={this.handleDateChange}
- />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement