Skip to content

Commit f5ae74e

Browse files
authored
chore: clean code (#598)
1 parent 57c4652 commit f5ae74e

5 files changed

Lines changed: 0 additions & 76 deletions

File tree

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,6 @@ online example: https://input-number.vercel.app/
112112
<td>false</td>
113113
<td>Specifies that an InputNumber should be disabled</td>
114114
</tr>
115-
<tr>
116-
<td>focusOnUpDown</td>
117-
<td>Boolean</td>
118-
<td>true</td>
119-
<td>whether focus input when click up or down button</td>
120-
</tr>
121115
<tr>
122116
<td>required</td>
123117
<td>Boolean</td>

docs/api.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,6 @@ nav:
6464
<td>false</td>
6565
<td>Specifies that an InputNumber should be disabled</td>
6666
</tr>
67-
<tr>
68-
<td>focusOnUpDown</td>
69-
<td>Boolean</td>
70-
<td>true</td>
71-
<td>whether focus input when click up or down button</td>
72-
</tr>
7367
<tr>
7468
<td>required</td>
7569
<td>Boolean</td>

docs/demo/simple-use-touch.tsx

Lines changed: 0 additions & 57 deletions
This file was deleted.

docs/example.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ nav:
3737

3838
<code src="./demo/precision.tsx"></code>
3939

40-
## simple-use-touch
41-
42-
<code src="./demo/simple-use-touch.tsx"></code>
43-
4440
## small-step
4541

4642
<code src="./demo/small-step.tsx"></code>

src/InputNumber.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,6 @@ export interface InputNumberProps<T extends ValueType = ValueType>
9393

9494
onStep?: (value: T, info: { offset: ValueType; type: 'up' | 'down' }) => void;
9595

96-
// focusOnUpDown: boolean;
97-
// useTouch: boolean;
98-
9996
/**
10097
* Trigger change onBlur event.
10198
* If disabled, user must press enter or click handler to confirm the value update

0 commit comments

Comments
 (0)