alouette
Version:
A modern, customizable design system built on top of NativeWind v5 with configurable defaults
11 lines • 604 B
TypeScript
/** Provided by `AlouetteProvider`; `false` outside one. */
export declare const ReducedMotionContext: import("react").Context<boolean>;
/**
* `true` when the user asked the OS to reduce motion (`prefers-reduced-motion`
* on web, the accessibility setting on iOS / Android). The alouette motion
* tokens (`duration-*`, `animate-*`) already collapse to nothing then; read this
* for motion driven from JS (a timer matching an animation, a Reanimated
* `withTiming`, a native `animationType`).
*/
export declare function useReducedMotion(): boolean;
//# sourceMappingURL=ReducedMotionContext.d.ts.map