fix: remove transfer warning #4574
							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…
	
		Reference in New Issue
	
	 tangjinzhou
						tangjinzhou