added fillContainer: Bool to deal with updating if the buttonGroup fills or not
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
cdc8b7310d
commit
f99d4e3c4d
@ -19,10 +19,9 @@ public class TwoButtonViewModel: ParentMoleculeModelProtocol {
|
||||
public var backgroundColor: Color?
|
||||
public var primaryButton: ButtonModel?
|
||||
public var secondaryButton: ButtonModel?
|
||||
public var fillContainer: Bool = false
|
||||
|
||||
public var children: [MoleculeModelProtocol] {
|
||||
return [primaryButton, secondaryButton].compactMap { $0 }
|
||||
}
|
||||
public var children: [MoleculeModelProtocol] { [primaryButton, secondaryButton].compactMap { $0 } }
|
||||
|
||||
//--------------------------------------------------
|
||||
// MARK: - Keys
|
||||
|
||||
Loading…
Reference in New Issue
Block a user