Open Taehyeon-Kim opened 10 months ago
struct ContentView: View { var message: AttributedString { var result = AttributedString("Hello, world!") result.font = .largeTitle result.foregroundColor = .white result.backgroundColor = .red return result } var body: some View { Text(message) } }