Skip to content

Commit

Permalink
Merge pull request #143 from duenyang/fix/hooks
Browse files Browse the repository at this point in the history
fix(useDragSorter hooks): 文件位置移动
  • Loading branch information
duenyang authored Sep 23, 2024
2 parents f52bbdf + 752081b commit e3c6fa9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/tabs/TabNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { calcMaxOffset, calcPrevOrNextOffset, calculateOffset, calcValidOffset }
import classname from '../_util/classname';
import noop from '../_util/noop';
import parseTNode from '../_util/parseTNode';
import { DragSortInnerProps } from '../hooks/useDragSorter';
import { DragSortInnerProps } from '../_util/useDragSorter';
import { TabValue, TdTabPanelProps, TdTabsProps } from './type';
import { useTabClass } from './useTabClass';

Expand Down
2 changes: 1 addition & 1 deletion src/tabs/TabNavItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { Component, createRef, tag } from 'omi';

import classname from '../_util/classname';
import noop from '../_util/noop';
import { DragSortInnerProps } from '../_util/useDragSorter';
import { StyledProps } from '../common';
import { DragSortInnerProps } from '../hooks/useDragSorter';
import type { TdTabPanelProps, TdTabsProps } from './type';
import { useTabClass } from './useTabClass';

Expand Down
2 changes: 1 addition & 1 deletion src/tabs/tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { toArray } from 'lodash';
import { Component, tag, VNode } from 'omi';

import classname from '../_util/classname';
import UseDragSorter from '../_util/useDragSorter';
import { StyledProps, TNode } from '../common';
import UseDragSorter from '../hooks/useDragSorter';
import { TabValue, TdTabsProps } from './type';
import { useTabClass } from './useTabClass';

Expand Down

0 comments on commit e3c6fa9

Please sign in to comment.