Skip to content

Commit

Permalink
Adding onSearch to the EuiFieldSearchProps type def (#1627)
Browse files Browse the repository at this point in the history
* Adding onSearch to the EuiFieldSearchProps type def

* Switching from any to string, per Chandler's suggestion

* Updating Changelog
  • Loading branch information
kobelb authored Apr 18, 2019
1 parent 1246f8c commit c6fda89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- Used `cache-loader` to speed up development docs site build ([#1841](https://github.com/elastic/eui/pull/1841)
- Converted `matching_options` to TS ([#1828](https://github.com/elastic/eui/pull/1828))
- Converted `EuiFormHelpText` to TS ([#1852](https://github.com/elastic/eui/pull/1852))
- Added `onSearch` to `EuiFieldSearchProps`'s type defintion ([#1627](https://github.com/elastic/eui/pull/1627))

**Bug fixes**

Expand Down
1 change: 1 addition & 0 deletions src/components/form/field_search/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ declare module '@elastic/eui' {
fullWidth?: boolean;
isLoading?: boolean;
incremental?: boolean;
onSearch?: (value: string) => void;
}

export const EuiFieldSearch: FunctionComponent<
Expand Down

0 comments on commit c6fda89

Please sign in to comment.