@amirdiafi/react-native-ios-haptics
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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-haptics

Usage

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


/@amirdiafi/react-native-ios-haptics/

    Package Sidebar

    Install

    npm i @amirdiafi/react-native-ios-haptics

    Weekly Downloads

    1

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    75.6 kB

    Total Files

    31

    Last publish

    Collaborators

    • amirdiafi