Skip to content

Commit 9de21ae

Browse files
committed
Integrate Product card into main hub view
1 parent 24dd090 commit 9de21ae

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

WooCommerce/Classes/ViewRelated/Dashboard/Analytics Hub/AnalyticsHubView.swift

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,15 @@ struct AnalyticsHubView: View {
6060
Divider()
6161
}
6262

63+
VStack(spacing: Layout.dividerSpacing) {
64+
Divider()
65+
66+
AnalyticsProductCard(itemsSold: "2,342", delta: "+23%", deltaBackgroundColor: .withColorStudio(.green, shade: .shade50))
67+
.background(Color(uiColor: .listForeground))
68+
69+
Divider()
70+
}
71+
6372
Spacer()
6473
}
6574
}

0 commit comments

Comments
 (0)