grom/component/label
Types
pub type Component {
TextInput(text_input.TextInput)
StringSelect(string_select.StringSelect)
UserSelect(user_select.UserSelect)
RoleSelect(role_select.RoleSelect)
MentionableSelect(mentionable_select.MentionableSelect)
ChannelSelect(channel_select.ChannelSelect)
FileUpload(file_upload.FileUpload)
RadioGroup(radio_group.RadioGroup)
CheckboxGroup(checkbox_group.CheckboxGroup)
Checkbox(checkbox.Checkbox)
}
Constructors
-
TextInput(text_input.TextInput) -
StringSelect(string_select.StringSelect) -
UserSelect(user_select.UserSelect) -
RoleSelect(role_select.RoleSelect) -
MentionableSelect(mentionable_select.MentionableSelect) -
ChannelSelect(channel_select.ChannelSelect) -
FileUpload(file_upload.FileUpload) -
RadioGroup(radio_group.RadioGroup) -
CheckboxGroup(checkbox_group.CheckboxGroup) -
Checkbox(checkbox.Checkbox)
pub type Label {
Label(
id: option.Option(Int),
label: String,
description: option.Option(String),
component: Component,
)
}
Constructors
-
Label( id: option.Option(Int), label: String, description: option.Option(String), component: Component, )