Skip to content

Latest commit

 

History

History

collapsible-list

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Collapsible List

                .listStyle(.sidebar)
                List {
                    Section {
                        ZStack {
                            Text("Earning Content")
                        }
                    } header: {
                        Text("Earnings for May")
                    }
                    
                    Section {
                        ZStack {
                            Text("Enrollment Content")
                        }
                    } header: {
                        Text("Enrolments for May")
                    }
                    
                    Section {
                        ZStack {
                            Text("Rating")
                        }
                    } header: {
                        Text("Rating")
                    }
                } //: List
                // add List Style Here
                .listStyle(.sidebar)