@amirdiafi/react-native-ios-haptics
v0.1.1
Published
test
Readme
react-native-ios-haptics
this native module helps you achieve the notification and the impact haptics(vibration) feedbacks with the latest types and styles.
Installation
npm install react-native-ios-hapticsUsage
import { notificationFeedback, impactFeedback } from 'react-native-ios-haptics';
// ...
notificationFeedback('success');
impactFeedback('soft');Feedbacks
| Impact | Notifications | | ------------- | ------------- | | soft | success | | light | warning | | medium | error | | rigid | | | heavy | |
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
