Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: useVibration hook implementation and docs #757

Merged
merged 2 commits into from
May 12, 2022
Merged

Conversation

xobotyi
Copy link
Contributor

@xobotyi xobotyi commented May 12, 2022

Introduce new hook useVibrate that provides vibration feedback using the Vibration API.

Checklist

  • Have you read contribution guideline?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Is there an existing issue for this PR?
  • Have the files been linted and formatted?
  • Have the docs been updated to match the changes in the PR?
  • Have the tests been updated to match the changes in the PR?
  • Have you run the tests locally to confirm they pass?

@codecov
Copy link

codecov bot commented May 12, 2022

Codecov Report

Merging #757 (f63c7fa) into master (161ac31) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #757   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           52        54    +2     
  Lines          896       914   +18     
  Branches       166       170    +4     
=========================================
+ Hits           896       914   +18     
Impacted Files Coverage Δ
src/__tests__/navigator.vibrate.ts 100.00% <100.00%> (ø)
src/index.ts 100.00% <100.00%> (ø)
src/useVibrate/useVibrate.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 161ac31...f63c7fa. Read the comment docs.

@xobotyi xobotyi merged commit db40294 into master May 12, 2022
@xobotyi xobotyi deleted the use-vibrate branch May 12, 2022 10:47
github-actions bot pushed a commit that referenced this pull request May 12, 2022
# [14.2.0](v14.1.0...v14.2.0) (2022-05-12)

### Features

* `useVibration` hook implementation and docs ([#757](#757)) ([db40294](db40294))
@xobotyi
Copy link
Contributor Author

xobotyi commented May 12, 2022

🎉 This PR is included in version 14.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

Support for useVibrate
1 participant