RadioGroupOptions

interface RadioGroupOptions

Options for a radio group component.

exported from lib.weeble.d

Properties

Property

Type

Description

customId

string

Custom ID for the radio group.

description?

string

Description displayed below the label.

label?

string

Label displayed above the radio group in a modal.

options

{ checked?: boolean; customId?: string; default?: boolean; description?: string; emoji?: EmojiData; label: string; value?: string }[]

Radio options the user can pick from.

required?

boolean

Indicates whether selecting an option is required.