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