GBA-8-19/Previews/Experimental Features/ExperimentalFeatures.swift
bluesea 2d62f40b7c s
2024-06-14 18:16:51 +08:00

38 lines
758 B
Swift

//
// ExperimentalFeatures.swift
// HthikPreviews
//
// Created by Hthik on 4/17/23.
// Copyright © 2024 Hthik
//
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()
}
}
}