diff --git a/CHANGELOG.md b/CHANGELOG.md index f3d1dabacd4..82abcf003a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,7 @@ - Added `notification` and `notificationColor` props to `EuiHeaderSectionItemButton` ([#2914](https://github.com/elastic/eui/pull/2914)) - Added `folderCheck`, `folderExclamation`, `push`, `quote`, `reporter` and `users` icons ([#2935](https://github.com/elastic/eui/pull/2935)) - Updated `folderClosed` and `folderOpen` to match new additions and sit better on the pixel grid ([#2935](https://github.com/elastic/eui/pull/2935)) +- Converted `EuiSearchBar` to Typescript ([#2909](https://github.com/elastic/eui/pull/2909)) **Bug fixes** diff --git a/src-docs/src/views/search_bar/controlled_search_bar.js b/src-docs/src/views/search_bar/controlled_search_bar.js index 5cb461c49dc..03ffd47ae3a 100644 --- a/src-docs/src/views/search_bar/controlled_search_bar.js +++ b/src-docs/src/views/search_bar/controlled_search_bar.js @@ -154,6 +154,9 @@ export class ControlledSearchBar extends Component { const schema = { strict: true, fields: { + type: { + type: 'string', + }, active: { type: 'boolean', }, diff --git a/src-docs/src/views/search_bar/search_bar.js b/src-docs/src/views/search_bar/search_bar.js index 2f9dd3334b3..28c6ecfac9b 100644 --- a/src-docs/src/views/search_bar/search_bar.js +++ b/src-docs/src/views/search_bar/search_bar.js @@ -136,6 +136,9 @@ export class SearchBar extends Component { const schema = { strict: true, fields: { + type: { + type: 'string', + }, active: { type: 'boolean', }, diff --git a/src-docs/src/views/search_bar/search_bar_example.js b/src-docs/src/views/search_bar/search_bar_example.js index 31b59653e3e..27f701293d0 100644 --- a/src-docs/src/views/search_bar/search_bar_example.js +++ b/src-docs/src/views/search_bar/search_bar_example.js @@ -37,9 +37,9 @@ export const SearchBarExample = { text: (
- A
- A
- A