app/pb_kits/playbook/pb_radio/docs/_radio_props_swift

Props

Name Type Description Default Values
items PBRadioItem Specifies the value of the Radio buttons
orientation Orientation Changes between stacked or inline Radio items .vertical
textAlignment Orientation Changes lable position .horizontal
spacing CGFloat Applies padding around Radio and lable Spacing.xSmall Spacing.none Spacing.xxSmall Spacing.xSmall Spacing.small Spacing.medium Spacing.large Spacing.xLarge
padding CGFloat Applies padding between Radio and lable Spacing.xSmall Spacing.none Spacing.xxSmall Spacing.xSmall Spacing.small Spacing.medium Spacing.large Spacing.xLarge
errorState Bool Changes Radio to error styling
selected PBRadioItem? Sets selected Radio item