Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 328 Bytes

File metadata and controls

12 lines (8 loc) · 328 Bytes
import ThrottleButton from "rn-throttle-button"

<ThrottleButton pressThrottle={300} >
    /* Your children */
</ThrottleButton>

pressThrottle defines how long you want to wait between two possible clicks. Default is 300ms.

This component inherits of TouchableOpacity and can be used as such, with the same props.