---
order: 7
zh-CN:
	title: 提示模式
	placehoder: 请输入整数
en-US:
	title: tooltip Mode
	placehoder: please enter integer
---

```jsx
import { NumberInput } from 'zent';

ReactDOM.render(
	<div>
		<NumberInput
			value={3}
			min={-2}
			max={6}
			integer
			placeholder="{i18n.placehoder}"
			showStepper
			showTooltip
		/>
		<NumberInput
			value={3}
			min={-2}
			max={6}
			placeholder="{i18n.placehoder}"
			showTooltip
			decimal={2}
		/>
	</div>,
	mountNode
);
```
