mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-24 08:00:53 +01:00
24 lines
450 B
Swift
24 lines
450 B
Swift
//
|
|
// FeedInspectorLabel.swift
|
|
// NetNewsWire-iOS
|
|
//
|
|
// Created by Maurice Parker on 11/3/19.
|
|
// Copyright © 2019 Ranchero Software. All rights reserved.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
struct FeedInspectorLabelView : UIViewRepresentable {
|
|
|
|
let text: String
|
|
|
|
func makeUIView(context: Context) -> InteractiveLabel {
|
|
return InteractiveLabel()
|
|
}
|
|
|
|
func updateUIView(_ label: InteractiveLabel, context: Context) {
|
|
label.text = text
|
|
}
|
|
|
|
}
|