UNPKG

@react-motion-router/core

Version:

Declarative routing library for ReactJS ⚛ with animations baked in ⏮

6 lines (5 loc) 384 B
import { NavigationBase, PlainObject, RouteProp, ScreenBaseProps } from ".."; export declare function useReducedMotion(): boolean; export declare function useNavigation<T extends NavigationBase = NavigationBase>(): NavigationBase; export declare function useMotion(): number; export declare function useRoute<P extends ScreenBaseProps, T extends PlainObject>(): RouteProp<P, T>;