UNPKG

@base-ui-components/react

Version:

Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.

7 lines (6 loc) 274 B
import * as React from 'react'; /** * Executes a function once all animations have finished on the provided element. * @ignore - internal hook. */ export declare function useAnimationsFinished(ref: React.RefObject<HTMLElement | null>): (fnToExecute: () => void) => void;