mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-03 20:47:56 +08:00
fix: remove transfer warning #4574
This commit is contained in:
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
Block a user