Type fixes for react v19 compatibility (#2937)
This commit is contained in:
@@ -5,7 +5,13 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||
Please see LICENSE in the repository root for full details.
|
||||
*/
|
||||
|
||||
import { type ComponentType, memo, type RefObject, useRef } from "react";
|
||||
import {
|
||||
type ComponentType,
|
||||
type JSX,
|
||||
memo,
|
||||
type RefObject,
|
||||
useRef,
|
||||
} from "react";
|
||||
import { type EventTypes, type Handler, useDrag } from "@use-gesture/react";
|
||||
import { type SpringValue } from "@react-spring/web";
|
||||
import classNames from "classnames";
|
||||
|
||||
Reference in New Issue
Block a user