exyte / FloatingButton

Easily customizable floating button menu created with SwiftUI
MIT License
1.12k stars 75 forks source link

How to close menu? #6

Closed philipborbon closed 4 years ago

philipborbon commented 4 years ago

How to close menu after button is clicked?

f3dm76 commented 4 years ago

Hey @philipborbon , in the new 0.0.2 version I've added the ability to pass a binding into FloatingButton's constructor, so you can control the closing of the menu from your end. I modified the first menu from example project to work like what you've described, you are most welcome to check it out. Have a wonderful day!

philipborbon commented 4 years ago

Thanks for the update @f3dm76.

Kudos for more awesome SwiftUI components.