fixed issues for tableview sample

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-08-17 14:18:30 -05:00
parent 056954ddcc
commit ea9e5dd55b
3 changed files with 4 additions and 4 deletions

View File

@ -95,7 +95,7 @@ extension IconViewController: ComponentSampleable {
let color = UIColor.VDSColor.paletteBlack
component.color = color.uiColor
component.name = name
component.size = .XLarge
return ComponentSample(component: component, canPinTrailing: false)
component.customSize = 50
return ComponentSample(component: component, canPinTrailing: false, canPinBottom: false)
}
}

View File

@ -86,6 +86,6 @@ class LoaderViewController: BaseViewController<Loader>, LoaderLaunchable {
extension LoaderViewController: ComponentSampleable {
static func makeSample() -> ComponentSample {
let component = Self.makeComponent()
return ComponentSample(component: component, canPinTrailing: false)
return ComponentSample(component: component)
}
}

View File

@ -106,7 +106,7 @@ extension TooltipViewController: ComponentSampleable {
let component = Self.makeComponent()
component.title = "5G Ultra Wideband is available in your area."
component.content = "$799.99 (128 GB only) "
return ComponentSample(component: component, canPinTrailing: false)
return ComponentSample(component: component, canPinTrailing: false, canPinBottom: false)
}
}