Skip to content

Commit

Permalink
[EuiDatePicker] defaultProps types (#3427)
Browse files Browse the repository at this point in the history
* direct defaultProps typing

* as const

* CL

* take 3: casting
  • Loading branch information
thompsongl authored May 5, 2020
1 parent a154aa1 commit 3a75f45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
- Fixed `EuiDatePickerRange` start date popover to sit left under the icon ([#3383](https://github.com/elastic/eui/pull/3383))
- Fixed `EuiHeader` `z-index` issues with popovers and added body classes for the presence of `EuiFlyout` and `EuiCollapsibleNav.isOpen` ([#3398](https://github.com/elastic/eui/pull/3398))
- Fixed `EuiInMemoryTable` data reset when filter is set and item is selected ([#3419](https://github.com/elastic/eui/pull/3419))
- Fixed `popoverPlacement` default value for `EuiDatePicker` ([#3427](https://github.com/elastic/eui/pull/3427))

## [`23.1.0`](https://github.com/elastic/eui/tree/v23.1.0)

Expand Down
2 changes: 1 addition & 1 deletion src/components/date_picker/date_picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export class EuiDatePicker extends Component<_EuiDatePickerProps> {
showIcon: true,
showTimeSelect: false,
timeFormat: euiDatePickerDefaultTimeFormat,
popoverPlacement: 'bottom-start',
popoverPlacement: 'bottom-start' as _EuiDatePickerProps['popoverPlacement'],
};

render() {
Expand Down

0 comments on commit 3a75f45

Please sign in to comment.