Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
{icon}
)}
<input type="{type}" id="{id}">
{hasClearableInput && (
<span>
}
title={clearButtonTitle}
onClick={onClearButtonClick}
/>
</span>
)}
{this.shouldShowInstructions() && (
<p>{instructions}</p>
)}
{errors && <p>{errors}</p>}
{required && (