UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

9 lines (8 loc) 371 B
import React from 'react'; /** * Merge the child ref with an internal ref and expose the resolved DOM node. * * @returns A tuple containing the renderable child node and the DOM node resolved from its ref. */ declare const useChildDom: (children: React.ReactNode) => [childNode: React.ReactNode, domNode: HTMLElement | SVGElement | null]; export default useChildDom;