mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-16 19:35:48 +01:00
24 lines
531 B
Swift
24 lines
531 B
Swift
//
|
|
// ArticleContainerView.swift
|
|
// NetNewsWire
|
|
//
|
|
// Created by Maurice Parker on 7/2/20.
|
|
// Copyright © 2020 Ranchero Software. All rights reserved.
|
|
//
|
|
|
|
import SwiftUI
|
|
import Articles
|
|
|
|
struct ArticleContainerView: View {
|
|
|
|
@EnvironmentObject private var sceneModel: SceneModel
|
|
@StateObject private var articleModel = ArticleModel()
|
|
var article: Article
|
|
|
|
@ViewBuilder var body: some View {
|
|
ArticleView(sceneModel: sceneModel, articleModel: articleModel, article: article)
|
|
.modifier(ArticleToolbarModifier())
|
|
}
|
|
|
|
}
|