This PR contains the work done to open the *Settings* view and also, implemented the rendering of its tab items. Reviewed-on: #5 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
20 lines
463 B
Swift
20 lines
463 B
Swift
//
|
|
// PreviewTrait+Properties.swift
|
|
// Piper
|
|
//
|
|
// Created by Javier Cicchelli on 13/10/2024.
|
|
// Copyright © 2024 Röck+Cöde. All rights reserved.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
@available(macOS 15.0, *)
|
|
extension PreviewTrait where T == Preview.ViewTraits {
|
|
|
|
// MARK: Properties
|
|
|
|
@MainActor static var emptyData: PreviewTrait = .modifier(EmptyDataModifier())
|
|
@MainActor static var sampleData: PreviewTrait = .modifier(SampleDataModifier())
|
|
|
|
}
|