Use text-icon instead of Image #15

Open
opened 2025-10-14 15:54:55 -06:00 by navan · 0 comments
Owner

Originally created by @LuegM on 8/28/2024

Is it possible to initialize with a text (icon) instead of an image?
I would want to use FontAwesome which i have integrated as font and would like to use like that:

Text("").font(.custom("FontAwesome6Duotone-Solid", size: size))

But how to use that here?

.init(
    image: .init(
        

    ),
    title: "",
    subtitle: ""
)
*Originally created by @LuegM on 8/28/2024* Is it possible to initialize with a text (icon) instead of an image? I would want to use FontAwesome which i have integrated as font and would like to use like that: `Text("").font(.custom("FontAwesome6Duotone-Solid", size: size))` But how to use that here? ```swift .init( image: .init( ), title: "", subtitle: "" ) ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/WhatsNewKit#15
No description provided.