@gravity-ui/uikit
Version:
Gravity UI base styling and components
18 lines (11 loc) • 373 B
Markdown
# useForkRef
```tsx
import {useForkRef} from '@gravity-ui/uikit';
```
The `useForkRef` hook that can combine refs into a single ref
## Properties
| Name | Description | Type | Default |
| :--- | :-------------- | :-----------------: | :-----: |
| refs | ref-links array | `React.RefObject[]` | |
## Result
Combined ref. `React.RefCallback`