Files
mattermost-mobile/types/modules/react-native-keyboard-tracking-view.d.ts
Elias Nahum acf4cbde8d [Keyboard] Keyboard tracking (#6050)
* Pause/Resume tracking keyboard

* fix keyboard tracking view on tablets

* add EDIT_POST screen to pause keyboard tracking
2022-03-14 16:21:45 -03:00

21 lines
813 B
TypeScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
declare module 'react-native-keyboard-tracking-view' {
import {ViewProps} from 'react-native';
export interface KeyboardTrackingViewRef {
pauseTracking: (id: string) => void;
resumeTracking: (id: string) => void;
resetScrollView: (id: string) => void;
setNativeProps(nativeProps: object): void;
}
interface KeyboardTrackingViewProps extends ViewProps{
accessoriesContainerID?: string;
normalList?: boolean;
scrollViewNativeID?: string;
viewInitialOffsetY?: number;
}
export const KeyboardTrackingView: React.ForwardRefExoticComponent<KeyboardTrackingViewProps & React.RefAttributes<KeyboardTrackingViewRef>>;
}