added selectedItem
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
9f7717547e
commit
3e0aae5ab4
@ -40,6 +40,10 @@ public class PickerSelectorView<EnumType: RawRepresentable>: UIStackView, Picker
|
||||
$0.typograpicalStyle = .BodyLarge
|
||||
}
|
||||
|
||||
public var selectedItem: EnumType {
|
||||
return items[selectedIndex]
|
||||
}
|
||||
|
||||
private var button = Button().with { instance in
|
||||
instance.size = .small
|
||||
instance.use = .secondary
|
||||
|
||||
Loading…
Reference in New Issue
Block a user