package.dist.utils.use-event.d.cts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of react Show documentation
Show all versions of react Show documentation
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