All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.utils.use-event.d.cts Maven / Gradle / Ivy

Go to download

A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.

The newest version!
type AnyFunction = (...args: any[]) => any;
type Options = {
    /**
     * Whether to use flushSync or not
     */
    sync?: boolean;
};
/**
 * Returns a memoized callback that will flushSync the callback if sync is true
 */
export declare function useEvent(callback: T | undefined, opts?: Options): T;
export {};




© 2015 - 2025 Weber Informatics LLC | Privacy Policy