UNPKG

@chakra-ui/react

Version:

Responsive and accessible React UI components built with React and Emotion

4 lines (3 loc) 282 B
export type ReactRef<T> = React.RefCallback<T> | React.MutableRefObject<T>; export declare function assignRef<T = any>(ref: ReactRef<T> | null | undefined, value: T): void; export declare function mergeRefs<T>(...refs: (ReactRef<T> | null | undefined)[]): (node: T | null) => void;