Add step property to NumberInput. (#401)

This commit is contained in:
Lunar-Scripts
2023-09-01 20:14:13 +02:00
committed by GitHub
parent 2696d8d9d9
commit 2393a64e50
2 changed files with 2 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ const NumberField: React.FC<Props> = (props) => {
defaultValue={props.row.default}
min={props.row.min}
max={props.row.max}
step={props.row.step}
precision={props.row.precision}
disabled={props.row.disabled}
icon={props.row.icon && <FontAwesomeIcon icon={props.row.icon} fixedWidth />}