React Native Scratch View which temporarily hides content from a user
yarn add swc-rn-scratch-card
import { SwcRnScratchCardView } from 'swc-rn-scratch-card';
// ...
const source = Image.resolveAssetSource(require('./scratch_foreground.png'));
<SwcRnScratchCardView
image={source}
onScratch={handleScratch}
style={styles.box}
/>
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT