@@ -14,12 +14,27 @@ struct SwiftUIExampleView: View {
1414
1515 let options = SupportOptions (
1616 categories: [
17- . init(
18- tags: [ " boba " , " fastFood " ] ,
19- displayName: " Food that tastes great " ,
20- displayColor: UIColor . orange
21- )
22- ]
17+ . init( tag: " boba " , displayName: " Boba is awesome! " )
18+ ] ,
19+ navigationBar: . init(
20+ title: " Support " ,
21+ titleColor: UIColor . white,
22+ dismissButtonTitle: " Done " ,
23+ buttonTintColor: UIColor . white,
24+ backgroundColor: UIColor ( red: 6 / 255 , green: 151 / 255 , blue: 0 / 255 , alpha: 1 )
25+ ) ,
26+ progressBar: . init(
27+ foregroundColor: UIColor . green,
28+ backgroundColor: UIColor . systemBackground
29+ ) ,
30+ listStyle: . insetGroupedListStyle,
31+ navigationViewStyle: . defaultNavigationViewStyle,
32+ other: . init(
33+ activityIndicatorStyle: UIActivityIndicatorView . Style. large,
34+ welcomeView: AnyView ( WelcomeView ( ) ) ,
35+ footer: AnyView ( Footer ( ) ) ,
36+ error404: URL ( string: " https://aheze.github.io/SupportDocs/404 " ) !
37+ )
2338 )
2439
2540 @State var supportDocsPresented = false
0 commit comments