Skip to content

Commit

Permalink
Makes SuperDatePicker onRefresh prop optional like it should be
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonrhodes committed Mar 19, 2019
1 parent 063b47d commit 96566bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## [`master`](https://github.com/elastic/eui/tree/master)

No public interface changes since `9.4.1`.
**Bug fixes**

- Newly-added `onRefresh` prop should not have been made required in 9.4.1, fixed here ([]())

## [`9.4.1`](https://github.com/elastic/eui/tree/v9.4.1)

Expand Down
2 changes: 1 addition & 1 deletion src/components/date_picker/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ declare module '@elastic/eui' {
isPaused?: boolean;
refreshInterval?: number;
onTimeChange: (props: OnTimeChangeProps) => void;
onRefresh: (props: OnRefreshProps) => void;
onRefresh?: (props: OnRefreshProps) => void;
onRefreshChange?: (props: OnRefreshChangeProps) => void;
commonlyUsedRanges?: EuiSuperDatePickerCommonRange[];
dateFormat?: string;
Expand Down

0 comments on commit 96566bf

Please sign in to comment.