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