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