-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
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
Option to give Image String instead of custom image String #16
Comments
Hello, @vchaubey-ontic! You can provide string with image name in your |
@onl1ner as i checked the code everywhere you have used |
@vikaschaubey57, I see. So, in this case you could implement your own tab item style and use your own image name there. The default implementation is using |
Traditional in SwiftUI you would just use Image(“ImageName”) where
ImageName is the name you gave the image in the asset’s catalog.
…On Mon, May 8, 2023 at 1:03 AM Vikash Kumar Chaubey < ***@***.***> wrote:
@onl1ner <https://github.com/onl1ner> as i checked the code everywhere
you have used Image with SystemName Image(systemName: icon) but I want to
use simple name like Image(icon), how to achieve it, could you give an
example.
—
Reply to this email directly, view it on GitHub
<#16 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALQXYGPXOQ7RRXGJC7JEZWLXFCEEDANCNFSM6AAAAAAXW7UJOU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Resurrecting this to say it is counter-intuitive to require |
Well yeah, I see your point @jedmund. The |
How could we give the asset string name instead of giving custom image name?
The text was updated successfully, but these errors were encountered: