Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

SNQ-2001/HapticsButtonSwiftUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

22 Commits

Repository files navigation

HapticsButtonSwiftUI

Github issues Github forks Github stars Github top language Github license

Installation

HapticsButtonSwiftUI can be installed with the Swift Package Manager:

https://github.com/SNQ-2001/HapticsButtonSwiftUI

You can also clone the repository and build the library locally.

How to use ?

import HapticsButtonSwiftUI
Button(haptics: .impact(.medium)) {
 // action
} label: {
 Text("Medium")
}

or

import Haptics
Haptics.impact(.medium).play()

or

import Haptics
playImpactHaptic(.medium)

License

HapticsButtonSwiftUI is available under the MIT license. See the LICENSE file for more info.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /