Skip to content

Commit

Permalink
Update ContentView.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmud Ahsan committed Jun 18, 2021
1 parent b8fb1cf commit 5e9a3cc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Demo/Shared/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,18 @@ struct ContentView: View {
ActionSheetCard(
isShowing: $showingSheet,
items: [
ActionSheetCardItem(sfSymbolName: "play", label: "Play") {
ActionSheetCardItem(systemIconName: "play", label: "Play") {
print("Play Tapped")
showingSheet = false
},
ActionSheetCardItem(sfSymbolName: "stop", label: "Stop", foregrounColor: Color.red) {
ActionSheetCardItem(systemIconName: "stop", label: "Stop", foregrounColor: Color.red) {
print("Stop Tapped")
showingSheet = false
},
ActionSheetCardItem(sfSymbolName: "record.circle", label: "Record")
ActionSheetCardItem(systemIconName: "record.circle", label: "Record")
],
outOfFocusOpacity: 0.2
outOfFocusOpacity: 0.2,
itemsSpacing: 2
)
}

Expand Down

0 comments on commit 5e9a3cc

Please sign in to comment.