0.1.8 • Published 3 years ago

double-click-react-native v0.1.8

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

double-click-react-native

button double click for react-native

Installation

npm install double-click-react-native

Usage

// ...

import React from 'react'
import { View, Text } from 'react-native'
import DoubleClick from "double-click-react-native";


function App() {
  return (
    <DoubleClick
      singleTap={() => {
        console.log('single tap');
      }}
      doubleTap={() => {
        console.log('double tap');
      }}
      delay={300}
      style={{
        backgroundColor: 'black',
      }}
    >
      <Text>Click</Text>
    </DoubleClick>
  );
}

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago