Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
value: this.state.currentLocation || '',
onChange: this.onInputChange,
onBlur: this.props.onBlur,
onFocus: this.handleFocus,
onKeyPress: this.props.onKeyPress,
onKeyDown: this.handleKeyDown,
onKeyUp: this.props.onKeyUp,
})}
themePreset={themePreset}
/>
{this.renderIcon()}
{isOpen && this.state.suggestions.length ? (
<ul>
{suggestionsList.slice(0, 11).map((item, index) => (
<li style="{{">
{typeof item.label === 'string' ? (
</li></ul>
value: this.state.currentLocation || '',
onChange: this.onInputChange,
onBlur: this.props.onBlur,
onFocus: this.handleFocus,
onKeyPress: this.props.onKeyPress,
onKeyDown: this.handleKeyDown,
onKeyUp: this.props.onKeyUp,
})}
themePreset={themePreset}
/>
{this.renderIcon()}
{isOpen && this.state.suggestions.length ? (
<ul>
{suggestionsList.slice(0, 11).map((item, index) => (
<li style="{{">
{typeof item.label === 'string' ? (
</li></ul>