RadioButton
@shopify/shop-minis-platform-sdk / components/RadioButton
RadioButtonProps
Properties
active?
optional
active:boolean
onPress()
onPress: () =>
void
Returns
void
paddingHorizontal?
optional
paddingHorizontal:"s"
|"section"
|"auto"
|"m"
|"l"
|"-xxxl"
|"-xxl"
|"-xl"
|"-l"
|"-m"
|"-gutter"
|"-section"
|"-s"
|"-xs-s"
|"-xs"
|"-xxs"
|"-xxxs"
|"none"
|"xxxs"
|"xxs"
|"xs"
|"xs-s"
|"gutter"
|"xl"
|"xxl"
|"xxxl"
size?
optional
size:"s"
|"m"
|"l"
text
text:
string
variant?
optional
variant:"secondary"
|"tertiary"
RadioButton()
RadioButton(
__namedParameters
):Element
Parameters
Parameter | Type |
---|---|
__namedParameters | RadioButtonProps |
Returns
Element