UNPKG

@base-ui-components/react

Version:

Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.

8 lines (7 loc) 412 B
import * as React from 'react'; import type { BaseUIComponentProps } from './types.js'; /** * Merges the rendering element's `ref` in addition to the other `ref`s. * @ignore - internal hook. */ export declare function useRenderPropForkRef<ElementType extends React.ElementType, State>(render: BaseUIComponentProps<ElementType, State>['render'], ...refs: Array<React.Ref<any>>): React.RefCallback<any> | null;