Updated Breadcrumb and Field

This commit is contained in:
2025-09-29 20:10:09 +05:30
parent 6363b127da
commit a496c652ca
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -42,6 +42,9 @@ interface Props extends HTMLAttributes<"div"> {
suffixText?: string;
iconLeft?: string;
iconRight?: string;
min?: number;
max?: number;
step?: number;
size?: "sm" | "md" | "lg";
class?: string;
}
@@ -161,6 +164,9 @@ const controlWrap = "wr:relative";
.filter(Boolean)
.join(" ") || undefined
}
min={p.kind === "number" ? p.min : undefined}
max={p.kind === "number" ? p.max : undefined}
step={p.kind === "number" ? p.step : undefined}
value={
typeof p.value === "string" ||
typeof p.value === "number"