mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-28 05:16:37 +02:00
wrap all instances of mantine hooks used in renderer
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { autoScrollForElements } from '@atlaskit/pragmatic-drag-and-drop-auto-scroll/element';
|
||||
import { useMergedRef } from '@mantine/hooks';
|
||||
import clsx from 'clsx';
|
||||
import { useOverlayScrollbars } from 'overlayscrollbars-react';
|
||||
import { forwardRef, Ref, useEffect, useRef, useState } from 'react';
|
||||
@@ -7,6 +6,7 @@ import { forwardRef, Ref, useEffect, useRef, useState } from 'react';
|
||||
import styles from './scroll-area.module.css';
|
||||
import './scroll-area.css';
|
||||
|
||||
import { useMergedRef } from '/@/shared/hooks/use-merged-ref';
|
||||
import { DragData, DragTarget } from '/@/shared/types/drag-and-drop';
|
||||
|
||||
interface ScrollAreaProps extends React.ComponentPropsWithoutRef<'div'> {
|
||||
|
||||
Reference in New Issue
Block a user