function RadioOrSelectWidget(props) {
	if (props.options && props.options.enumOptions) {
		if (props.options.enumOptions.length <= MAX_TO_RADIO) {
			return <Radio {...props} />;
		}
	}
	return <Select {...props} />;
}
/**
 * Render Radio or Select by choices length
 * @param props
 * @returns {*} Radio inputs if choices length is gte to 2 or Select
 * @constructor
 */
Render Radio or Select by choices length
@param props
@returns {*} Radio inputs if choices length is gte to 2 or Select
@constructor
Render Radio or Select by choices length @param props @returns { * } Radio inputs if choices length is gte to 2 or Select @constructor
function RadioOrSelectWidget(props) {
	if (props.options && props.options.enumOptions) {
		if (props.options.enumOptions.length <= MAX_TO_RADIO) {
			return <Radio {...props} />;
		}
	}
	return <Select {...props} />;
}
function RadioOrSelectWidget ( props ) { if ( props . options && props . options . enumOptions ) { if ( props . options . enumOptions . length <= MAX_TO_RADIO ) { return < Radio { ... props } / > ; } } return < Select { ... props } / > ; }
Render Radio or Select by choices length
 @param props
 @returns {*} Radio inputs if choices length is gte to 2 or Select
 @constructor
Render Radio or Select by choices length @param props @returns { * } Radio inputs if choices length is gte to 2 or Select @constructor