Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
+10
-2
@@ -25,7 +25,7 @@ export interface InputProps
|
||||
React.InputHTMLAttributes<HTMLInputElement>,
|
||||
"type" | "placeholder" | "value"
|
||||
> {
|
||||
type?: "text" | "password" | "email" | "number" | "tel" | "url" | "search";
|
||||
type?: "text" | "password" | "email" | "number" | "tel" | "url" | "search" | "date" | "time" | "datetime-local" | "file";
|
||||
placeholder?: React.ReactNode;
|
||||
variant?: "regular" | "small" | "extra-small";
|
||||
value?: React.ReactNode;
|
||||
@@ -60,6 +60,14 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>(function Input(
|
||||
? "number"
|
||||
: type === "email"
|
||||
? "email"
|
||||
: type === "datetime-local"
|
||||
? "datetime-local"
|
||||
: type === "date"
|
||||
? "date"
|
||||
: type === "time"
|
||||
? "time"
|
||||
: type === "file"
|
||||
? "file"
|
||||
: type === "password"
|
||||
? "password"
|
||||
: "text";
|
||||
@@ -131,7 +139,7 @@ export interface TextInputRootProps
|
||||
message?: React.ReactNode;
|
||||
icon?: React.ReactNode;
|
||||
iconRight?: React.ReactNode;
|
||||
type?: "text" | "password" | "email" | "number" | "tel" | "url" | "search";
|
||||
type?: "text" | "password" | "email" | "number" | "tel" | "url" | "search" | "date" | "time" | "datetime-local" | "file";
|
||||
children?: React.ReactNode;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user