This commit is contained in:
Matt Bruce 2024-04-25 15:08:27 -05:00
commit 327975d99d
2 changed files with 3 additions and 0 deletions

View File

@ -181,6 +181,7 @@ class ButtonIconViewController: BaseViewController<ButtonIcon> {
let name = Icon.Name.addToFavorite let name = Icon.Name.addToFavorite
component.iconName = name component.iconName = name
component.onChange = { c in print("changed: \(c.isSelected)") }
//setup UI //setup UI
surfacePickerSelectorView.text = component.surface.rawValue surfacePickerSelectorView.text = component.surface.rawValue
surfaceTypePickerSelectorView.text = component.surfaceType.rawValue surfaceTypePickerSelectorView.text = component.surfaceType.rawValue

View File

@ -99,6 +99,8 @@ class TileContainerViewController: BaseViewController<TileContainer> {
addContentTopView(view: .makeWrapper(for: component)) addContentTopView(view: .makeWrapper(for: component))
component.width = 150 component.width = 150
component.color = .secondary component.color = .secondary
component.accessibilityLabel = "Tile Container"
component.addContentView(Label().with { $0.text = "Testing Label" })
setupPicker() setupPicker()
setupModel() setupModel()
} }