UNPKG

react-native-haptic-feedback

Version:
17 lines 1.38 kB
import RNHapticFeedback from "./hapticFeedback"; import { pattern } from "./utils/pattern"; export { useHaptics } from "./hooks/useHaptics"; export { Patterns } from "./presets"; export type { PatternName } from "./presets"; export * from "./types"; export { pattern }; export { PATTERN_CHARS } from "./utils/pattern"; export type { AssertValidPattern } from "./utils/pattern"; export { playHaptic } from "./utils/playHaptic"; export { TouchableHaptic } from "./components/TouchableHaptic"; export type { TouchableHapticProps } from "./components/TouchableHaptic"; export declare const trigger: (type?: keyof typeof import("./types").HapticFeedbackTypes | import("./types").HapticFeedbackTypes, options?: import("./types").HapticOptions) => void, stop: () => void, isSupported: () => boolean, triggerPattern: (events: import("./types").HapticEvent[], options?: import("./types").HapticOptions) => void, getSystemHapticStatus: () => Promise<import("./types").SystemHapticStatus>, setEnabled: (value: boolean) => void, isEnabled: () => boolean, impact: (type?: keyof typeof import("./types").HapticFeedbackTypes | import("./types").HapticFeedbackTypes, intensity?: number, options?: import("./types").HapticOptions) => void; /** @platform ios */ export declare const playAHAP: (fileName: string) => Promise<void>; export default RNHapticFeedback; //# sourceMappingURL=index.d.ts.map