import { useCombinedAnimationDisabledState } from '../../helpers/internal/hooks'; import type { AnimationRootDisableAll } from '../../helpers/internal/types'; import { getRootAnimationState } from '../../helpers/internal/utils'; /** Root animation hook for TagGroup */ export function useTagGroupRootAnimation(options: { animation: AnimationRootDisableAll | undefined; }) { const { animation } = options; getRootAnimationState(animation); const isAllAnimationsDisabled = useCombinedAnimationDisabledState(animation); return { isAllAnimationsDisabled, }; }