ENCOA-96: License Distribuition system from Master Corporate to Corporate
This commit is contained in:
@@ -11,6 +11,7 @@ interface Props {
|
||||
value?: string | number;
|
||||
className?: string;
|
||||
disabled?: boolean;
|
||||
max?: number;
|
||||
name: string;
|
||||
onChange: (value: string) => void;
|
||||
}
|
||||
@@ -23,6 +24,7 @@ export default function Input({
|
||||
required = false,
|
||||
value,
|
||||
defaultValue,
|
||||
max,
|
||||
className,
|
||||
roundness = "full",
|
||||
disabled = false,
|
||||
@@ -72,6 +74,7 @@ export default function Input({
|
||||
name={name}
|
||||
disabled={disabled}
|
||||
value={value}
|
||||
max={max}
|
||||
onChange={(e) => onChange(e.target.value)}
|
||||
min={type === "number" ? 0 : undefined}
|
||||
placeholder={placeholder}
|
||||
|
||||
Reference in New Issue
Block a user