InputNumber & InputRange
InputNumber
js
import InputNumber from 'intergalactic/input-number';
InputNumberProps
& {...}Name | Type | Description |
---|---|---|
size | Input size |
InputNumber.Value
jsx
import InputNumber from 'intergalactic/input-number';
<InputNumber.Value />;
InputNumberValueProps
& {...}Name | Type | Description |
---|---|---|
min | number | Minimum value |
max | number | Maximum value |
step | number | Value change step |
value | Numeric value | |
onChange | (value: , event: React.SyntheticEvent<>) => void | Called when the input value changes, it returns its current value in numeric format |
locale | string |
InputNumber.Controls
jsx
import InputNumber from 'intergalactic/input-number';
<InputNumber.Controls />;
InputNumberControlsProps
& {...}Name | Type | Description |
---|---|---|
showControls | boolean | Always displays controls (steppers) |
InputNumber.Addon
jsx
import InputNumber from 'intergalactic/input-number';
<InputNumber.Addon />;
API is the same as Input.Addon has.