mirror of
https://github.com/zhigang1992/react.git
synced 2026-04-28 12:15:32 +08:00
style: fix warning from eslint
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user