Skip to content

Commit

Permalink
chore: clean code (#598)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyo837 authored Dec 15, 2023
1 parent 57c4652 commit f5ae74e
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 76 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,6 @@ online example: https://input-number.vercel.app/
<td>false</td>
<td>Specifies that an InputNumber should be disabled</td>
</tr>
<tr>
<td>focusOnUpDown</td>
<td>Boolean</td>
<td>true</td>
<td>whether focus input when click up or down button</td>
</tr>
<tr>
<td>required</td>
<td>Boolean</td>
Expand Down
6 changes: 0 additions & 6 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,6 @@ nav:
<td>false</td>
<td>Specifies that an InputNumber should be disabled</td>
</tr>
<tr>
<td>focusOnUpDown</td>
<td>Boolean</td>
<td>true</td>
<td>whether focus input when click up or down button</td>
</tr>
<tr>
<td>required</td>
<td>Boolean</td>
Expand Down
57 changes: 0 additions & 57 deletions docs/demo/simple-use-touch.tsx

This file was deleted.

4 changes: 0 additions & 4 deletions docs/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ nav:

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

## simple-use-touch

<code src="./demo/simple-use-touch.tsx"></code>

## small-step

<code src="./demo/small-step.tsx"></code>
Expand Down
3 changes: 0 additions & 3 deletions src/InputNumber.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ export interface InputNumberProps<T extends ValueType = ValueType>

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
Expand Down

1 comment on commit f5ae74e

@vercel
Copy link

@vercel vercel bot commented on f5ae74e Dec 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.