react-calendar-kit
Version:
React Calendar Kit is a powerful and flexible library for building accessible and highly customizable calendar and date/time picker components in your React applications. React Calendar Kit provides a solid foundation for creating inclusive user experienc
9 lines (6 loc) • 352 B
text/typescript
import { Ref } from 'react';
type PossibleRef<T> = Ref<T> | undefined;
declare function assignRef<T>(ref: PossibleRef<T>, value: T): void;
declare function mergeRefs<T>(...refs: PossibleRef<T>[]): (node: T | null) => void;
declare function useMergeRefs<T>(...refs: PossibleRef<T>[]): (node: T) => void;
export { assignRef, mergeRefs, useMergeRefs };