File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 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';
1515export type TransferDirection = 'left' | 'right' ;
1616
1717export const TransferItem = {
18- key : PropTypes . string . isRequired ,
19- title : PropTypes . string . isRequired ,
18+ key : PropTypes . string ,
19+ title : PropTypes . string ,
2020 description : PropTypes . string ,
2121 disabled : PropTypes . looseBool ,
2222} ;
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ import type { RadioChangeEvent } from '../radio/interface';
1414const defaultRender = ( ) => null ;
1515
1616const TransferItem = {
17- key : PropTypes . string . isRequired ,
18- title : PropTypes . string . isRequired ,
17+ key : PropTypes . string ,
18+ title : PropTypes . string ,
1919 description : PropTypes . string ,
2020 disabled : PropTypes . looseBool ,
2121} ;
You can’t perform that action at this time.
0 commit comments