@blockstack/ui
Version:
Blockstack UI components built using React and styled-components with styled-system.
6 lines (5 loc) • 323 B
TypeScript
import * as React from 'react';
declare type ReactRef<T> = React.Ref<T> | React.RefObject<T> | React.MutableRefObject<T>;
export declare function assignRef<T = any>(ref: ReactRef<T>, value: T): void;
export declare function useMergeRefs<T>(...refs: (ReactRef<T> | undefined)[]): ((node: T) => void) | null;
export {};