UNPKG

@mhpdev/react-native-haptics

Version:

A high-performance React Native library for iOS haptics and Android vibration effects

10 lines 500 B
import { type ImpactFeedback, type NotificationFeedback, type AndroidHapticsFeedback } from './NativeHaptics'; export type { ImpactFeedback, NotificationFeedback, AndroidHapticsFeedback }; declare const Haptics: { impact: (style: ImpactFeedback) => Promise<void>; notification: (type: NotificationFeedback) => Promise<void>; androidHaptics: (type: AndroidHapticsFeedback) => Promise<void>; selection: () => Promise<void>; }; export default Haptics; //# sourceMappingURL=index.d.ts.map