diff --git a/README.md b/README.md
index b8085838..d51cdb04 100644
--- a/README.md
+++ b/README.md
@@ -112,12 +112,6 @@ online example: https://input-number.vercel.app/
false |
Specifies that an InputNumber should be disabled |
-
- focusOnUpDown |
- Boolean |
- true |
- whether focus input when click up or down button |
-
required |
Boolean |
diff --git a/docs/api.md b/docs/api.md
index 8762db2c..fb173828 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -64,12 +64,6 @@ nav:
false |
Specifies that an InputNumber should be disabled |
-
- focusOnUpDown |
- Boolean |
- true |
- whether focus input when click up or down button |
-
required |
Boolean |
diff --git a/docs/demo/simple-use-touch.tsx b/docs/demo/simple-use-touch.tsx
deleted file mode 100644
index 9659520f..00000000
--- a/docs/demo/simple-use-touch.tsx
+++ /dev/null
@@ -1,57 +0,0 @@
-/* eslint no-console:0 */
-import React from 'react';
-import InputNumber from 'rc-input-number';
-import '../../assets/index.less';
-
-class Component extends React.Component {
- state = {
- disabled: false,
- readOnly: false,
- value: 5,
- };
-
- onChange = value => {
- console.log('onChange:', value);
- this.setState({ value });
- };
-
- toggleDisabled = () => {
- this.setState({
- disabled: !this.state.disabled,
- });
- };
-
- toggleReadOnly = () => {
- this.setState({
- readOnly: !this.state.readOnly,
- });
- };
-
- render() {
- return (
-
-
-
-
-
-
-
- );
- }
-}
-
-export default Component;
diff --git a/docs/example.md b/docs/example.md
index ee7ac902..77dc42ef 100644
--- a/docs/example.md
+++ b/docs/example.md
@@ -37,10 +37,6 @@ nav:
-## simple-use-touch
-
-
-
## small-step
diff --git a/src/InputNumber.tsx b/src/InputNumber.tsx
index 4a64d68c..8b71ea7c 100644
--- a/src/InputNumber.tsx
+++ b/src/InputNumber.tsx
@@ -100,9 +100,6 @@ export interface InputNumberProps
onStep?: (value: T, info: { offset: ValueType; type: 'up' | 'down' }) => void;
- // focusOnUpDown: boolean;
- // useTouch: boolean;
-
/**
* Trigger change onBlur event.
* If disabled, user must press enter or click handler to confirm the value update