Repository URL to install this package:
|
Version:
0.0.2 ▾
|
import { KeyboardEvent } from 'react';
declare class SearchState {
value: string;
isActive: boolean;
isClosing: boolean;
isVisible: boolean;
show(event?: any): void;
hide(event?: any): void;
onFocusToggle(event?: any): void;
setValue(value: string): void;
onKeyDown(event: KeyboardEvent): void;
}
declare function toSearchState(): SearchState;
export { SearchState, toSearchState };