diff --git a/README.md b/README.md index 2bf2866..30c8d87 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,13 @@ A wrapper component for React Native which supports both double and single tap. ## Usage ```js +import DoubleTap from 'react-native-double-tap'; + export default class App extends React.Component { render() { return ( - { console.log("single tap"); }} @@ -23,7 +25,7 @@ export default class App extends React.Component { delay={200} >