react-native-keyboard-avoider
react-native-keyboard-avoider copied to clipboard
Remove unused imports: React and EasingFn
Currently, the following modules are imported but not used in the code:
import React from "react"; // ❗️ unused
import { useRef } from "react";
import { Platform } from "react-native";
import Animated, { EasingFn, useAnimatedStyle, useSharedValue, withTiming } from "react-native-reanimated"; // ❗️ unused EasingFn
import { useKeyboardHandlers } from "../hooks";
import { calcAndroidSystemPan, closeAnimation, measureFocusedInputBottomY, openAnimation } from "../utilities";
import { CommonProps, defaultCommonProps } from "./common-props";
These imports can be safely removed to improve code cleanliness and avoid unnecessary clutter.
Suggested Fix:
- Remove the unused React import
- Remove the unused EasingFn import from react-native-reanimated