fix(inputComponent): add missing space in className prop
fix(inputComponent): add missing space in password class name
This commit is contained in:
parent
1b6e61d3cb
commit
1813befde1
1 changed files with 2 additions and 2 deletions
|
|
@ -25,11 +25,11 @@ export default function InputComponent({
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
type={password && !pwdVisible ? "password" : "text"}
|
|
||||||
value={myValue}
|
value={myValue}
|
||||||
className={classNames(
|
className={classNames(
|
||||||
"block w-full form-input dark:bg-gray-900 dark:border-gray-600 rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm",
|
"block w-full form-input dark:bg-gray-900 dark:border-gray-600 rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm",
|
||||||
disabled ? " bg-gray-200 dark:bg-gray-700" : ""
|
disabled ? " bg-gray-200 dark:bg-gray-700" : "",
|
||||||
|
password && !pwdVisible ? "password" : ""
|
||||||
)}
|
)}
|
||||||
placeholder="Type a text"
|
placeholder="Type a text"
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue