UNPKG

@mmcodemark/fuselage-hooks

Version:

React hooks for Fuselage, Rocket.Chat's design system and UI toolkit

9 lines 299 B
/** * Hook to create a stable callback from a mutable one. * * @param fn - the mutable callback * @returns a stable callback * @public */ export declare const useMutableCallback: <P extends any[], T>(fn: (...args: P) => T) => (...args: P) => T; //# sourceMappingURL=useMutableCallback.d.ts.map