Feat: Set the outputs type of list operation. #10427 (#11366)

### What problem does this PR solve?

Feat: Set the outputs type of list operation. #10427

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-11-19 13:59:43 +08:00
committed by GitHub
parent 0884e9a4d9
commit 971197d595
8 changed files with 148 additions and 42 deletions

View File

@ -6,6 +6,7 @@ interface NumberInputProps {
value?: number;
onChange?: (value: number) => void;
height?: number | string;
min?: number;
}
const NumberInput: React.FC<NumberInputProps> = ({
@ -13,6 +14,7 @@ const NumberInput: React.FC<NumberInputProps> = ({
value: initialValue,
onChange,
height,
min = 0,
}) => {
const [value, setValue] = useState<number>(() => {
return initialValue ?? 0;
@ -76,6 +78,7 @@ const NumberInput: React.FC<NumberInputProps> = ({
onChange={handleChange}
className="w-full flex-1 text-center bg-transparent focus:outline-none"
style={style}
min={min}
/>
<button
type="button"