chore: delete useless comment (#41327)

This commit is contained in:
lijianan 2023-03-19 16:13:04 +08:00 committed by GitHub
parent ef39c3cf26
commit 49c932a102
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,10 @@
import classNames from 'classnames'; import classNames from 'classnames';
import type { ChangeEvent, CSSProperties } from 'react'; import type { ChangeEvent, CSSProperties } from 'react';
import React, { useCallback, useContext, useEffect, useMemo, useState } from 'react'; import React, { useCallback, useContext, useEffect, useMemo, useState } from 'react';
import type { InputStatus } from '../_util/statusUtils';
import { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';
import { groupDisabledKeysMap, groupKeysMap } from '../_util/transKeys';
import warning from '../_util/warning';
import type { ConfigConsumerProps } from '../config-provider'; import type { ConfigConsumerProps } from '../config-provider';
import { ConfigContext } from '../config-provider'; import { ConfigContext } from '../config-provider';
import DefaultRenderEmpty from '../config-provider/defaultRenderEmpty'; import DefaultRenderEmpty from '../config-provider/defaultRenderEmpty';
@ -8,10 +12,6 @@ import type { FormItemStatusContextProps } from '../form/context';
import { FormItemInputContext } from '../form/context'; import { FormItemInputContext } from '../form/context';
import defaultLocale from '../locale/en_US'; import defaultLocale from '../locale/en_US';
import useLocale from '../locale/useLocale'; import useLocale from '../locale/useLocale';
import type { InputStatus } from '../_util/statusUtils';
import { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';
import { groupDisabledKeysMap, groupKeysMap } from '../_util/transKeys';
import warning from '../_util/warning';
import type { PaginationType } from './interface'; import type { PaginationType } from './interface';
import type { TransferListProps } from './list'; import type { TransferListProps } from './list';
import List from './list'; import List from './list';
@ -104,24 +104,6 @@ export interface TransferProps<RecordType> {
status?: InputStatus; status?: InputStatus;
} }
// interface TransferFCProps {
// prefixCls: string;
// className?: string;
// rootClassName?: string;
// style?: React.CSSProperties;
// children: React.ReactNode;
// }
// const TransferFC: React.FC<TransferFCProps> = (props) => {
// const { prefixCls, className, rootClassName, style, children } = props;
// const [wrapSSR, hashId] = useStyle(prefixCls);
// return wrapSSR(
// <div className={classNames(className, rootClassName, hashId)} style={style}>
// {children}
// </div>,
// );
// };
const Transfer = <RecordType extends TransferItem = TransferItem>( const Transfer = <RecordType extends TransferItem = TransferItem>(
props: TransferProps<RecordType>, props: TransferProps<RecordType>,
) => { ) => {