Signed-off-by: Matt Bruce <matt.bruce@verizon.com>

This commit is contained in:
Matt Bruce 2023-08-18 16:50:52 -05:00
parent df91effafb
commit 17f074b949

View File

@ -119,6 +119,8 @@ class ToggleViewController: BaseViewController<Toggle> {
extension ToggleViewController: ComponentSampleable {
static func makeSample() -> ComponentSample {
let component = Self.makeComponent()
return ComponentSample(component: component, trailingPinningType: .lessThanOrEqual)
component.showText = true
component.textPosition = .right
return ComponentSample(component: component)
}
}