Skip to content

Remove unused imports: React and EasingFn #14

@BangDori

Description

@BangDori

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions