fix: remove transfer warning #4574
parent
30a5f68fef
commit
f3f3919c34
|
@ -15,8 +15,8 @@ import { withInstall } from '../_util/type';
|
|||
export type TransferDirection = 'left' | 'right';
|
||||
|
||||
export const TransferItem = {
|
||||
key: PropTypes.string.isRequired,
|
||||
title: PropTypes.string.isRequired,
|
||||
key: PropTypes.string,
|
||||
title: PropTypes.string,
|
||||
description: PropTypes.string,
|
||||
disabled: PropTypes.looseBool,
|
||||
};
|
||||
|
|
|
@ -14,8 +14,8 @@ import type { RadioChangeEvent } from '../radio/interface';
|
|||
const defaultRender = () => null;
|
||||
|
||||
const TransferItem = {
|
||||
key: PropTypes.string.isRequired,
|
||||
title: PropTypes.string.isRequired,
|
||||
key: PropTypes.string,
|
||||
title: PropTypes.string,
|
||||
description: PropTypes.string,
|
||||
disabled: PropTypes.looseBool,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue