UNPKG

@runicjs/runic-react

Version:

Tools for working with Runic in React

7 lines 364 B
import type { EqualityFn } from '@runicjs/runic'; import { Stores } from '@runicjs/runic'; export type States<T extends unknown[]> = { [K in keyof T]: T[K]; }; export default function useStores<T extends unknown[], Value>(stores: Stores<T>, selector: (states: States<T>) => Value, equalityFn?: EqualityFn<Value>): Value; //# sourceMappingURL=useStores.d.ts.map