Fixed a bug in the TextBox.jsx
This commit is contained in:
@ -8,7 +8,7 @@ export const TextBox = (props) => {
|
||||
<div className="textbox-wrapper" ref={props.useRef} onAnimationEnd={handleAnimation}>
|
||||
<input className="textbox-input" placeholder={props.placeholder} value={props.value}
|
||||
onChange={props.onUpdate} type={props.type || "text"} autoComplete={props.autoComplete}/>
|
||||
<FontAwesomeIcon icon={props.icon} className="textbox-icon"/>
|
||||
{props.icon && <FontAwesomeIcon icon={props.icon} className="textbox-icon"/>}
|
||||
</div>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user