style: fix warning from eslint

This commit is contained in:
unix
2020-03-19 02:05:17 +08:00
parent 1b2365b89f
commit 596f134c25
22 changed files with 39 additions and 32 deletions

View File

@@ -68,7 +68,7 @@ const Input: React.FC<InputProps> = ({
return (
<div className={`input-container ${className}`}>
{label && <InputLabel fontSize={fontSize}>{label}</InputLabel>}
<div className={`input-wrapper ${hover ? 'hover' : ''} ${disabled ? 'disabled' : ''} ${labelClasses}`}>
<div className={`input-wrapper ${hover ? 'hover' : ''} ${disabled ? 'disabled' : ''} ${labelClasses}`}>
{icon && <InputIcon icon={icon} ratio={heightRatio} />}
<input type="text" className={`${disabled ? 'disabled' : ''} ${iconClasses}`}
value={selfValue}