10 lines
261 B
TypeScript
10 lines
261 B
TypeScript
import { TextInputProps, ViewStyle } from 'react-native';
|
|
|
|
export interface SearchInputProps extends Omit<TextInputProps, 'style'> {
|
|
value: string;
|
|
onChangeText: (text: string) => void;
|
|
placeholder?: string;
|
|
onClear?: () => void;
|
|
style?: ViewStyle;
|
|
}
|