1.1.9 • Published 5 months ago
@types/react-native-material-design-searchbar v1.1.9
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
// Type definitions for react-native-material-design-searchbar 1.1
// Project: https://github.com/ananddayalan/react-native-material-design-searchbar
// Definitions by: Kyle Roach <https://github.com/iRoachie>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
import * as React from 'react';
import {
TextInputProps,
ReturnKeyType,
ReturnKeyTypeAndroid,
TextStyle,
ReturnKeyTypeIOS,
} from 'react-native';
export interface SearchBarProps {
height: number;
autoCorrect?: boolean | undefined;
returnKeyType?: ReturnKeyType | ReturnKeyTypeAndroid | ReturnKeyTypeIOS | 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: Thu, 08 Jul 2021 22:41:11 GMT
- Dependencies: @types/react, @types/react-native
- Global values: none
Credits
These definitions were written by Kyle Roach.