4
0
forked from crowetic/commerce

Use password and email types for inputs

This commit is contained in:
Luis Alvarez 2020-10-26 17:11:51 -05:00
parent 0bdc7d0437
commit c2954d8e88
2 changed files with 4 additions and 4 deletions

View File

@ -70,8 +70,8 @@ const LoginView: FC<Props> = () => {
</a>
</div>
)}
<Input placeholder="Email" onChange={setEmail} />
<Input placeholder="Password" onChange={setPassword} />
<Input type="email" placeholder="Email" onChange={setEmail} />
<Input type="password" placeholder="Password" onChange={setPassword} />
<Button
variant="slim"

View File

@ -69,8 +69,8 @@ const SignUpView: FC<Props> = () => {
)}
<Input placeholder="First Name" onChange={setFirstName} />
<Input placeholder="Last Name" onChange={setLastName} />
<Input placeholder="Email" onChange={setEmail} />
<Input placeholder="Password" onChange={setPassword} />
<Input type="email" placeholder="Email" onChange={setEmail} />
<Input type="password" placeholder="Password" onChange={setPassword} />
<span className="text-accents-8">
<span className="inline-block align-middle ">
<Info width="15" height="15" />