Skip to content

Commit 3baa152

Browse files
committed
fix: refactor hooks: review
1 parent f9c9e5f commit 3baa152

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/hooks/useFileInput/useFileInput.ts

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ export type UseFileInputProps = {
66
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
77
};
88

9+
/**
10+
* @deprecated use UseFileInputResult instead
11+
*/
912
export type UseFileInputOutput = {
1013
controlProps: React.DetailedHTMLProps<
1114
React.InputHTMLAttributes<HTMLInputElement>,

src/hooks/useForkRef/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import {useForkRef} from '@gravity-ui/uikit';
99
```
1010

11-
The `useForkRef` hook that can combine refs into a single Ref
11+
The `useForkRef` hook that can combine refs into a single ref
1212

1313
## Properties
1414

src/hooks/useUniqId/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
import {useUniqId} from '@gravity-ui/uikit';
99
```
1010

11-
The `useUniqId` hook create uniq Id.
11+
The `useUniqId` hook create uniq ID.
1212

1313
## Result
1414

15-
Id. `string`
15+
ID. `string`

0 commit comments

Comments
 (0)