38 lines
758 B
Swift
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()
|
|
}
|
|
}
|
|
}
|