GBA003/DeltaPreviews/Experimental Features/ExperimentalFeatures.swift
2024-05-30 10:22:15 +08:00

38 lines
793 B
Swift

//
// ExperimentalFeatures.swift
// DeltaPreviews
//
// Created by Riley Testut on 4/17/23.
// Copyright © 2023 Riley Testut. All rights reserved.
//
import DeltaFeatures
import SwiftUI
struct ExperimentalFeatures: FeatureContainer
{
static let shared = ExperimentalFeatures()
@Feature(name: "Random Dancing")
var randomDancing
@Feature(name: "Custom Tint Color",
description: "Change the accent color used throughout the app.",
options: CustomTintColorOptions())
var customTintColor
private init()
{
self.prepareFeatures()
}
}
struct ExperimentalFeatures_Previews: PreviewProvider {
static var previews: some View {
NavigationView {
ExperimentalFeaturesView()
}
}
}