This API is reliable and breaking changes are unlikely.
This field is mandatory and should always be "string" for a radio button property type definition.
|component||Used for defining how the property is visualized in the property panel. Used to override the default component that comes with the type setting.
This field is mandatory for a radio button property and should always be "radiobuttons".
|label||Used for defining the label that is displayed in the property panel.|
|ref||Name or Id used to reference a property.|
|defaultValue||Used for defining the default value of your custom property.|
|options||Array of options. Can be value, label and function.
Fetching options from an external resource
Defining custom radio buttons
Defining a custom property of radio button type can look like below.
Example: Add custom radio button property to Appearance accordion
You can also define a new accordion item as a radio button property.
Example: Add custom radio button property as a new accordion item