UNPKG

@piplup/utils

Version:

A collection of utility hooks and functions crafted to power up the packages within Piplup.

3 lines (2 loc) 207 B
import type * as React from 'react'; export declare function setRef<Instance>(ref: ((instance: Instance | null) => void) | null | React.MutableRefObject<Instance | null> | undefined, value: Instance): void;