Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}
if (!option) {
return '';
}
return option[labelProperty];
};
return (
<span>{label}</span>
{tooltipElement}
(option[valueProperty])}
getOptionLabel={getOptionLabel || getOptionLabelDefault}
loadOptions={loadOptions}
defaultOptions={defaultOptions}
id={id}
isMulti={multi}
placeholder={translations['select.placeholder'] || ''}
cache={{}}
value={value || null}
{...props}
/>
);
} = this.props
const { value, options } = this.state
const virtualized = options.length > virtualizedThreshold
return (
<div>
</div>