Skip to content

hinodi/react-native-hinodi-components

Repository files navigation

license Version npm

react-native-hinodi-components

React Native common components for iOS + Android

Component API

[DebounceTouchable]

DebounceTouchable

import { DebounceTouchable } from 'react-native-hinodi-components';

<DebounceTouchable>
    <Text>Click me!</Text>
</DebounceTouchable>;

Props

Name Description Type Required Default Value
onPress Called when the touch is released Func () => {}
waitTime Delay in ms, from latest onPress Number 300
children The children to render inside this component Node null
style The custom styling which will be applied to the container of the children Style null

Installation

yarn add react-native-hinodi-components

or

npm install react-native-hinodi-components

Author

Dinh Huynh

License

MIT

About

React Native common components for iOS + Android

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages