aura-glass
Version:
A comprehensive glassmorphism design system for React applications with 142+ production-ready components
14 lines • 558 B
TypeScript
export interface MotionAwareAnimationConfig {
getAnimationProps: (props?: any) => any;
getTransition: (duration?: number, easing?: any) => any;
}
export interface AnimationDurationConfig {
duration: number;
}
export declare function useMotionAwareAnimation(): MotionAwareAnimationConfig;
export declare function useAnimationDuration(baseDuration?: number): AnimationDurationConfig;
export declare function useMotionPreference(): {
shouldAnimate: boolean;
prefersReducedMotion: boolean;
};
//# sourceMappingURL=useMotionPreference.d.ts.map