UNPKG

react-kiwi-dropdown

Version:

A minimal, easy-to-use and highly adjustable dropdown component made with ReactJS.

7 lines (6 loc) 260 B
import { Subscriber } from '../Subscriber'; /** * Subscribes to an ArrayLike with a subscriber * @param array The array or array-like to subscribe to */ export declare const subscribeToArray: <T>(array: ArrayLike<T>) => (subscriber: Subscriber<T>) => void;