File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ import { withInstall } from '../_util/type';
15
15
export type TransferDirection = 'left' | 'right' ;
16
16
17
17
export const TransferItem = {
18
- key : PropTypes . string . isRequired ,
19
- title : PropTypes . string . isRequired ,
18
+ key : PropTypes . string ,
19
+ title : PropTypes . string ,
20
20
description : PropTypes . string ,
21
21
disabled : PropTypes . looseBool ,
22
22
} ;
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ import type { RadioChangeEvent } from '../radio/interface';
14
14
const defaultRender = ( ) => null ;
15
15
16
16
const TransferItem = {
17
- key : PropTypes . string . isRequired ,
18
- title : PropTypes . string . isRequired ,
17
+ key : PropTypes . string ,
18
+ title : PropTypes . string ,
19
19
description : PropTypes . string ,
20
20
disabled : PropTypes . looseBool ,
21
21
} ;
You can’t perform that action at this time.
0 commit comments