@types/react-native-material-design-searchbar
v1.1.10
Published
TypeScript definitions for react-native-material-design-searchbar
Readme
Installation
npm install --save @types/react-native-material-design-searchbar
Summary
This package contains type definitions for react-native-material-design-searchbar (https://github.com/ananddayalan/react-native-material-design-searchbar).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-material-design-searchbar.
index.d.ts
import * as React from "react";
import { ReturnKeyTypeOptions, TextInputProps, TextStyle } from "react-native";
export interface SearchBarProps {
height: number;
autoCorrect?: boolean | undefined;
returnKeyType?: ReturnKeyTypeOptions | undefined;
placeholder?: string | undefined;
padding?: number | undefined;
inputStyle?: TextStyle | undefined;
iconCloseName?: string | undefined;
iconSearchName?: string | undefined;
iconBackName?: string | undefined;
iconSize?: number | undefined;
iconPadding?: number | undefined;
placeholderColor?: string | undefined;
iconColor?: string | undefined;
textStyle?: TextStyle | undefined;
inputProps?: TextInputProps | undefined;
alwaysShowBackButton?: boolean | undefined;
onSearchChange?(text: string): void;
onClose?(): void;
onBlur?(): void;
onEndEditing?(): void;
onSubmitEditing?(): void;
onFocus?(): void;
onBackPress?(): void;
}
export default class SearchBar extends React.Component<SearchBarProps, any> {}
Additional Details
- Last updated: Wed, 09 Sep 2026 17:03:49 GMT
- Dependencies: @types/react, react-native
Credits
These definitions were written by Kyle Roach.
