mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Co-Authored-By: ganeshpatro321 <30416891+ganeshpatro321@users.noreply.github.com>
This commit is contained in:
parent
02b4e6b359
commit
0a5b524ffd
1 changed files with 12 additions and 1 deletions
|
@ -15,4 +15,15 @@ const searchBox = {
|
|||
}),
|
||||
};
|
||||
|
||||
export const FilterBarLoading = () => <EuiSearchBar box={searchBox} />;
|
||||
/**
|
||||
* This component provides a visual placeholder while the FilterBar is loading.
|
||||
* The onChange prop is required, so we provide an empty function to suppress the warning.
|
||||
*/
|
||||
export const FilterBarLoading = () => (
|
||||
<EuiSearchBar
|
||||
box={searchBox}
|
||||
onChange={() => {
|
||||
/* */
|
||||
}}
|
||||
/>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue