react-native-haptic
Version:
iOS 10 and up, haptic feedback for React Native applications
16 lines (14 loc) • 335 B
TypeScript
export declare type HapticFeedbackType =
'impact' |
'notification' |
'selection' |
'impactLight' |
'impactMedium' |
'impactHeavy' |
'notificationError' |
'notificationSuccess' |
'notificationWarning';
declare const ReactNativeHaptic: {
generate(type: HapticFeedbackType): void
}
export default ReactNativeHaptic;