Created
August 21, 2022 13:00
-
-
Save lutes1/9d192da9950f0148d315827ae6437eb6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HeaderView( | |
viewModel: | |
.init( | |
title: "Rotation", | |
leftButtonTitle: "Done", | |
leftButtonAction: { | |
presentationMode.wrappedValue.dismiss() | |
} | |
), | |
rightControls: { | |
Text("\(Int(canvasViewModel.tilt))°") | |
.font(.title.bold()) | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment