UNPKG

react-keyboard-avoiding-container

Version:

A React component that provides smooth keyboard interactions for mobile web apps, handling viewport adjustments, scroll behavior, and input field focus with a sticky footer layout

9 lines (8 loc) 286 B
import React from "react"; interface KeyboardAvoidingContainerProps { body: React.ReactNode; footer: React.ReactNode; transitionDuration?: number; } declare const KeyboardAvoidingContainer: React.FC<KeyboardAvoidingContainerProps>; export default KeyboardAvoidingContainer;