mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
chore: delete useless comment (#41327)
This commit is contained in:
parent
ef39c3cf26
commit
49c932a102
@ -1,6 +1,10 @@
|
||||
import classNames from 'classnames';
|
||||
import type { ChangeEvent, CSSProperties } 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 { ConfigContext } from '../config-provider';
|
||||
import DefaultRenderEmpty from '../config-provider/defaultRenderEmpty';
|
||||
@ -8,10 +12,6 @@ import type { FormItemStatusContextProps } from '../form/context';
|
||||
import { FormItemInputContext } from '../form/context';
|
||||
import defaultLocale from '../locale/en_US';
|
||||
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 { TransferListProps } from './list';
|
||||
import List from './list';
|
||||
@ -104,24 +104,6 @@ export interface TransferProps<RecordType> {
|
||||
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>(
|
||||
props: TransferProps<RecordType>,
|
||||
) => {
|
||||
|
Loading…
Reference in New Issue
Block a user