react-native-haptic-feedback
Version:
Basic haptic feedback for iOS and android
32 lines • 1.44 kB
TypeScript
/**
* Official Jest auto-mock for react-native-haptic-feedback.
*
* Usage in tests:
* jest.mock('react-native-haptic-feedback');
*/
export declare const trigger: jest.Mock<any, any, any>;
export declare const stop: jest.Mock<any, any, any>;
export declare const isSupported: jest.Mock<any, any, any>;
export declare const triggerPattern: jest.Mock<any, any, any>;
export declare const impact: jest.Mock<any, any, any>;
export declare const playAHAP: jest.Mock<any, any, any>;
export declare const getSystemHapticStatus: jest.Mock<any, any, any>;
export declare const setEnabled: jest.Mock<any, any, any>;
export declare const isEnabled: jest.Mock<any, any, any>;
export declare const pattern: jest.Mock<any, any, any>;
export declare const playHaptic: jest.Mock<any, any, any>;
export declare const useHaptics: jest.Mock<any, any, any>;
export declare const Patterns: Record<import("..").PatternName, import("..").HapticEvent[]>;
declare const RNHapticFeedback: {
trigger: jest.Mock<any, any, any>;
stop: jest.Mock<any, any, any>;
isSupported: jest.Mock<any, any, any>;
triggerPattern: jest.Mock<any, any, any>;
impact: jest.Mock<any, any, any>;
playAHAP: jest.Mock<any, any, any>;
getSystemHapticStatus: jest.Mock<any, any, any>;
setEnabled: jest.Mock<any, any, any>;
isEnabled: jest.Mock<any, any, any>;
};
export default RNHapticFeedback;
//# sourceMappingURL=react-native-haptic-feedback.d.ts.map