Updated the register to allow the difference between a individual and corporate

This commit is contained in:
Tiago Ribeiro
2023-10-27 15:50:02 +01:00
parent 0aefbb85ec
commit 6e31a05f21
8 changed files with 364 additions and 176 deletions

View File

@@ -2,11 +2,11 @@ import clsx from "clsx";
import {useState} from "react";
interface Props {
type: "email" | "text" | "password" | "tel";
type: "email" | "text" | "password" | "tel" | "number";
required?: boolean;
label?: string;
placeholder?: string;
defaultValue?: string;
defaultValue?: string | number;
className?: string;
disabled?: boolean;
name: string;