import React from 'react'; import { InputNumber } from 'antd'; const onChange = (value: string) => { console.log('changed', value); }; const App: React.FC = () => ( style={{ width: 200 }} defaultValue="1" min="0" max="10" step="0.00000000000001" onChange={onChange} stringMode /> ); export default App;