Skip to content

Commit 0a25532

Browse files
committed
chore: update import order
1 parent b39e45f commit 0a25532

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

packages/components/table/PrimaryTable.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,9 @@ import React, { forwardRef, ReactNode, RefAttributes, useImperativeHandle, useRe
22
import classNames from 'classnames';
33
import { get } from 'lodash-es';
44

5+
import type { TableTreeDataMap } from '@tdesign/common-js/table/tree-store';
56

6-
import { TableTreeDataMap } from '@tdesign/common-js/table/tree-store';
7-
import { CheckboxGroupValue } from '../checkbox';
8-
import { StyledProps } from '../common';
97
import useDefaultProps from '../hooks/useDefaultProps';
10-
import { PageInfo, PaginationProps } from '../pagination';
118
import BaseTable from './BaseTable';
129
import { primaryTableDefaultProps } from './defaultProps';
1310
import EditableCell, { type EditableCellProps } from './EditableCell';
@@ -23,6 +20,9 @@ import useSorter from './hooks/useSorter';
2320
import useStyle from './hooks/useStyle';
2421
import useTableHeader, { renderTitle } from './hooks/useTableHeader';
2522

23+
import type { CheckboxGroupValue } from '../checkbox';
24+
import type { StyledProps } from '../common';
25+
import type { PageInfo, PaginationProps } from '../pagination';
2626
import type { BaseTableProps, PrimaryTableProps, PrimaryTableRef } from './interface';
2727
import type { PrimaryTableCellParams, PrimaryTableCol, TableRowData, TdPrimaryTableProps } from './type';
2828

@@ -35,7 +35,7 @@ export interface InternalPrimaryTableProps extends PrimaryTableProps, StyledProp
3535
const PrimaryTable = forwardRef<PrimaryTableRef, InternalPrimaryTableProps>((originalProps, ref) => {
3636
const props = useDefaultProps<InternalPrimaryTableProps>(originalProps, primaryTableDefaultProps);
3737
const { columns, columnController, editableRowKeys, style, className } = props;
38-
38+
3939
const primaryTableRef = useRef(null);
4040
const innerPagination = useRef<PaginationProps>(props.pagination);
4141
const { classPrefix, tableDraggableClasses, tableBaseClass, tableSelectedClasses, tableSortClasses } = useClassName();

0 commit comments

Comments
 (0)