added ParentMoleculeModelProtocol
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
38907c7ac1
commit
315a96470b
@ -9,7 +9,8 @@
|
||||
import Foundation
|
||||
import VDS
|
||||
|
||||
public class ButtonGroupModel: MoleculeModelProtocol {
|
||||
public class ButtonGroupModel: ParentMoleculeModelProtocol {
|
||||
|
||||
//--------------------------------------------------
|
||||
// MARK: - Properties
|
||||
//--------------------------------------------------
|
||||
@ -17,7 +18,8 @@ public class ButtonGroupModel: MoleculeModelProtocol {
|
||||
public static var identifier: String = "buttonGroup"
|
||||
public var id: String = UUID().uuidString
|
||||
public var backgroundColor: Color?
|
||||
|
||||
public var children: [MoleculeModelProtocol] { buttons }
|
||||
|
||||
//--------------------------------------------------
|
||||
// MARK: - VDS Properties
|
||||
//--------------------------------------------------
|
||||
|
||||
Loading…
Reference in New Issue
Block a user