# InputIncrement

```js
import  { InputIncrement } from 'deepsight-react-components';

return <InputIncrement ... />
```

## Props

| prop                     | type              | required | default                      | description                                                                  |
|:-------------------------| :---------------- | :------: | :--------------------------- |:-----------------------------------------------------------------------------|
| `value`                  | `number | string` |  `true`  | ''                           | the value of the input                                                       |
| `setValue`               | `Function`        |  `true`  | ``                           | the function to update the value of the input                                |
| `label`                  | `string`          | `false`  | `null`                       | the optional label to add on top of the input                                |
| `required`               | `bool`            | `false`  | `false`                      | mark the input as required (to combine with the label)                       |
| `height`                 | `string`          | `false`  | `40px`                       | when set, override the height of the input container                         |
| `width`                  | `string`          | `false`  | `240px`                      | when set, override the width of the input container                          |
| `placeholder`            | `string`          | `false`  | `0`                          | The placeholder to put in the input                                          |
| `limitValues`            | `object`          | `false`  | `{min: number, max: number}` | min and max of the input                                                     |
| `isDisabled`             | `bool`            | `false`  | `false`                      | when true, disabled mode activated                                           |
| `disableUpDownBehaviour` | `bool`            | `false`  | `true`                       | whether we disabled to possibility to increment the input with the keyboard  |
| `nullValueEnabled`       | `bool`            | `false`  | `false`                      | when set, enable or not null value for the input                             |
| `isButtonHidden`         | `bool`            | `false`  | `false`                      | when set, hide button from inputIncrement to make him as simple input number |
| `allowDecimals`           | `bool`            | `false`  | `true`                       | when set to false, disable the input of decimal numbers                      |
