fix: remove transfer warning #4574
							parent
							
								
									f1488e1545
								
							
						
					
					
						commit
						74133d18af
					
				|  | @ -19,8 +19,8 @@ import Base from '../base'; | ||||||
| export const TransferDirection = 'left' | 'right'; | export const 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.bool, |   disabled: PropTypes.bool, | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | @ -11,8 +11,8 @@ import addEventListener from '../vc-util/Dom/addEventListener'; | ||||||
| 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.bool, |   disabled: PropTypes.bool, | ||||||
| }; | }; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 tangjinzhou
						tangjinzhou