UNPKG

@atlaskit/motion

Version:

A set of utilities to apply motion in your application.

9 lines (8 loc) 278 B
interface Opts { cleanup: 'next-effect' | 'unmount'; } /** * Will return set timeout as a function which will clean itself up. */ export declare const useSetTimeout: (opts?: Opts) => ((handler: Function, timeout?: number | undefined, ...args: any[]) => void); export {};