react-native-haptic-feedback
Version:
Basic haptic feedback for iOS and android
9 lines • 424 B
TypeScript
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