@spark-web/utils
Version:
--- title: Utilities isExperimentalPackage: true ---
8 lines (7 loc) • 327 B
TypeScript
/// <reference types="react" />
/**
* Keeps all instances of the same animation in sync.
* Taken from Sam Selikoff's example post:
* @see https://github.com/samselikoff/2022-02-24-use-synchronized-animation
*/
export declare function useSynchronizedAnimation(animationName: string): import("react").MutableRefObject<null>;