We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
1st : I notice that I cannot use Foreach I hope this change in the future as what Apple did with SwiftUI Menu
2nd : I notice I cannot do any think with text or image
for example
Templates.MenuButton( text: Text(option1.title), image: Image(option1.imageName) .resizable() .foregroundColor(option1.isDestructive ? .red : .blue) .scaledToFit() .frame(width: 18, height: 18) ) { // do soomething }
I will get this error
Cannot convert value of type 'some View' to expected argument type 'Image?'
same issue will happened with Text
is there any way to fix this issue ?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
1st : I notice that I cannot use Foreach
I hope this change in the future as what Apple did with SwiftUI Menu
2nd : I notice I cannot do any think with text or image
for example
I will get this error
same issue will happened with Text
is there any way to fix this issue ?
The text was updated successfully, but these errors were encountered: