react-native-nitro-haptics
Version:
Low Latency Haptic Feedback with Worklet Support for React Native
10 lines (7 loc) • 307 B
text/typescript
import { NitroModules } from 'react-native-nitro-modules';
import type { Haptics as HapticsSpec } from './specs/Haptics.nitro';
export type {
ImpactFeedbackStyle,
NotificationFeedbackType,
} from './specs/Haptics.nitro';
export const Haptics = NitroModules.createHybridObject<HapticsSpec>('Haptics');