UNPKG

@crossed/primitive

Version:

A universal & performant styling library for React Native, Next.js & React

11 lines 440 B
/** * Copyright (c) Paymium. * * This source code is licensed under the MIT license found in the * LICENSE file in the root of this projects source tree. */ type AnyFunction = (..._args: any[]) => any; export declare function useEvent<T extends AnyFunction>(callback?: T): T; export declare function useGet<A>(currentValue: A, initialValue?: any, forwardToFunction?: boolean): () => A; export {}; //# sourceMappingURL=useEvent.d.ts.map