Added demographic information to the user

This commit is contained in:
Tiago Ribeiro
2023-09-13 11:28:13 +01:00
parent 8dcfb8a670
commit 27c6eff590
8 changed files with 2990 additions and 2592 deletions

View File

@@ -1,7 +1,7 @@
import {useState} from "react";
interface Props {
type: "email" | "text" | "password";
type: "email" | "text" | "password" | "tel";
required?: boolean;
label?: string;
placeholder?: string;
@@ -28,6 +28,7 @@ export default function Input({type, label, placeholder, name, required = false,
name={name}
onChange={(e) => onChange(e.target.value)}
placeholder={placeholder}
defaultValue={defaultValue}
className="w-full px-8 py-6 text-sm font-normal placeholder:text-mti-gray-cool bg-white rounded-full border border-mti-gray-platinum focus:outline-none"
/>
<p