Skip to content

Commit

Permalink
Optional Title
Browse files Browse the repository at this point in the history
  • Loading branch information
p-larson committed Feb 2, 2021
1 parent 4d4b262 commit 3d0bae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/StatefulTabView/Helpers/Tab.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public struct Tab {
let badgeValue: String?

// MARK: Asset Image Names
public init<T>(title: String,
public init<T>(title: String? = nil,
imageName: String,
selectedImageName: String? = nil,
badgeValue: String? = nil,
Expand Down

0 comments on commit 3d0bae7

Please sign in to comment.