UNPKG

react-native-haptic-feedback

Version:
9 lines 424 B
import type { HapticEvent } from "./types"; /** Union of all built-in preset names. */ export type PatternName = "success" | "error" | "warning" | "heartbeat" | "tripleClick" | "notification"; /** * Named pattern presets for common haptic sequences. * Use with `RNHapticFeedback.triggerPattern(Patterns.success)`. */ export declare const Patterns: Record<PatternName, HapticEvent[]>; //# sourceMappingURL=presets.d.ts.map