React Native hook for Interaction Manager
yarn add @rnhooks/interaction-managerimport 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>
);
}| Name | Default | Type | Description |
|---|---|---|---|
| interactionComplete | false | boolean | Interaction Complete |