Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
onSelect: PropTypes.func,
onMove: PropTypes.func,
activeId: PropTypes.string,
optionComponent: CustomPropTypes.elementType,
renderItem: PropTypes.func,
renderGroup: PropTypes.func,
focusedItem: PropTypes.any,
selectedItem: PropTypes.any,
isDisabled: PropTypes.func.isRequired,
valueAccessor: PropTypes.func.isRequired,
textAccessor: PropTypes.func.isRequired,
disabled: CustomPropTypes.disabled.acceptsArray,
messages: PropTypes.shape({
emptyList: CustomPropTypes.message,
}),
}
static defaultProps = {
optionComponent: ListOption,
type: 'variable',
hasNextPage: false,
}
static getVirtualListProps({
type,
itemSizeGetter,
itemSizeEstimator,