2021-12-02 13:39:48 +00:00
|
|
|
import { TextInputProps } from 'react-native';
|
|
|
|
|
2022-04-12 16:27:05 +00:00
|
|
|
import { TSupportedThemes } from '../../../theme';
|
|
|
|
|
2021-12-02 13:39:48 +00:00
|
|
|
type RequiredOnChangeText = Required<Pick<TextInputProps, 'onChangeText'>>;
|
|
|
|
|
|
|
|
export interface IShareListHeader {
|
|
|
|
searching: boolean;
|
|
|
|
onChangeSearchText: RequiredOnChangeText['onChangeText'];
|
2022-04-12 16:27:05 +00:00
|
|
|
theme: TSupportedThemes;
|
2021-12-02 13:39:48 +00:00
|
|
|
initSearch?: () => void;
|
|
|
|
cancelSearch?: () => void;
|
|
|
|
}
|
|
|
|
|
|
|
|
export type IShareListHeaderIos = Required<IShareListHeader>;
|