Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.13 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.13 KB

@rnhooks/interaction-manager Build Status Maintainability

React Native hook for Interaction Manager

Installation

yarn add @rnhooks/interaction-manager

Usage

import useCameraRoll from '@rnhooks/interaction-manager';

function App() {
  const interactionComplete = useInteractionManager();
  
  return (
    <View style={styles.container}>
      <Text style={styles.welcome}>@rnhooks/interaction-manager</Text>
      <Text style={styles.instructions}>{interactionComplete.toString()}</Text>
    </View>
  );
}

Output

Name Default Type Description
interactionComplete false boolean Interaction Complete