diff --git a/typings/components/Searchbar.d.ts b/typings/components/Searchbar.d.ts index 77bfb3f6e3..c6659b7de2 100644 --- a/typings/components/Searchbar.d.ts +++ b/typings/components/Searchbar.d.ts @@ -9,4 +9,9 @@ export interface SearchbarProps extends TextInputProps { onChangeText?: (query: string) => void; } -export declare class Searchbar extends React.Component {} +export declare class Searchbar extends React.Component { + isFocused: () => boolean; + clear: () => void; + focus: () => void; + blur: () => void; +} diff --git a/typings/components/TextInput.d.ts b/typings/components/TextInput.d.ts index e4ae57f4fb..5cca1e0e54 100644 --- a/typings/components/TextInput.d.ts +++ b/typings/components/TextInput.d.ts @@ -39,6 +39,6 @@ export interface RenderProps extends NativeTextInputProps { export declare class TextInput extends React.Component { isFocused: () => boolean; clear: () => void; - focus(): void; - blur(): void; + focus: () => void; + blur: () => void; }