rn-sherpa
Version:
A lightweight, flexible React Native library for creating powerful, step-by-step guided product tours with smart positioning and animations
14 lines • 335 B
TypeScript
/**
* Hook to create a ref for a tour step target
*
* @example
* ```tsx
* const stepRef = useStepRef();
*
* <View ref={stepRef}>
* <Text>This component will be highlighted</Text>
* </View>
* ```
*/
export declare function useStepRef<T = any>(): import("react").RefObject<T | null>;
//# sourceMappingURL=useStepRef.d.ts.map