@attio/react-native-bottom-sheet-toolbox
Version:
22 lines • 923 B
TypeScript
import * as React from "react";
import { type SharedValue } from "react-native-reanimated";
interface InternalKeyboardProviderProps extends React.PropsWithChildren {
}
/**
* The internal provider which maintains the additional keyboard height state.
*/
export declare function InternalKeyboardProvider({ children }: InternalKeyboardProviderProps): React.JSX.Element;
/**
* Returns a shared value representing the total of all additional keyboard
* heights.
*/
export declare function useAdditionalKeyboardHeightTotal(): import("react-native-reanimated").DerivedValue<number>;
/**
* Returns a shared value enabling you to attach an artificial offset to the
* internal keyboard height.
*
* This is useful when implementing features such as keyboard toolbars.
*/
export declare function useAdditionalKeyboardHeight(id?: string): SharedValue<number>;
export {};
//# sourceMappingURL=internal-keyboard-context.d.ts.map