mkuczera / react-native-haptic-feedback

React-Native Haptic Feedback for iOS with Android similar behaviour.
MIT License
868 stars 106 forks source link

update type file so that Feedback & Options are exported #33

Closed gwmccull closed 5 years ago

gwmccull commented 5 years ago

I updated the type file so that users of the library can import the list of Feedback options and the interface for the options object

gwmccull commented 5 years ago

open to suggestions on the names of the types, if you don't like them

mkuczera commented 5 years ago

Hi, thanks for the Pull Request. I would just name the types more specific to the package. So actually something like "HapticFeedbackTypes" and "HapticOptions" to avoid naming collisions.