A powerful SwiftUI library designed for creating layered user interfaces, enhancing your app's user experience with smooth and performant animations between modal views.
Turning Layer into a view extension will allow for faster implementation. You will need to add a boolean for checking whether or not the view is presented as well.
Instead of setting the footer to be just a button, it would be better if there was an option to allow the user to add their own custom view in place of it.
The button text fades in incorrectly, as well as this, when switching from a button without an icon to an icon, the whole text fades in, instead of adding the icon.
Steps To Reproduce
Click on the button within the layer.
Expected Behaviour
The button text should have an opacity transition rather than what is there at the moment.