UNPKG

use-haptic

Version:

A convenient React hook to trigger haptic feedback anywhere in your application

19 lines 653 B
/** * Utility functions for device detection */ /** * Detects if the current device is running iOS * @returns {boolean} true if the device is running iOS, false otherwise */ export declare const detectiOS: () => boolean; /** * Detects if the current device is running Android * @returns {boolean} true if the device is running Android, false otherwise */ export declare const detectAndroid: () => boolean; /** * Detects if the current device is a mobile device (iOS or Android) * @returns {boolean} true if the device is a mobile device, false otherwise */ export declare const detectMobile: () => boolean; //# sourceMappingURL=utils.d.ts.map