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:
Matt Bruce 2024-01-29 12:58:07 -06:00
parent cdc8b7310d
commit f99d4e3c4d

View File

@ -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