fix: remove transfer warning #4574

pull/4579/head
tangjinzhou 3 years ago
parent f1488e1545
commit 74133d18af

@ -19,8 +19,8 @@ import Base from '../base';
export const 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.bool,
};

@ -11,8 +11,8 @@ import addEventListener from '../vc-util/Dom/addEventListener';
const defaultRender = () => null;
const TransferItem = {
key: PropTypes.string.isRequired,
title: PropTypes.string.isRequired,
key: PropTypes.string,
title: PropTypes.string,
description: PropTypes.string,
disabled: PropTypes.bool,
};

Loading…
Cancel
Save