expo-router
Version:
Expo Router is a file-based router for React Native and web applications.
15 lines (14 loc) • 745 B
TypeScript
import * as React from 'react';
import { Animated, type ColorValue, type StyleProp, type ViewStyle } from 'react-native';
import type { HeaderSearchBarOptions, HeaderSearchBarRef } from '../types';
type Props = Omit<HeaderSearchBarOptions, 'ref'> & {
visible: boolean;
onClose: () => void;
tintColor?: ColorValue;
style?: Animated.WithAnimatedValue<StyleProp<ViewStyle>>;
};
declare function HeaderSearchBarInternal({ ref, visible, inputType, autoFocus, autoCapitalize, placeholder, cancelButtonText, enterKeyHint, onChangeText, onClose, tintColor, style, ...rest }: Props & {
ref?: React.Ref<HeaderSearchBarRef>;
}): React.JSX.Element | null;
export declare const HeaderSearchBar: typeof HeaderSearchBarInternal;
export {};