Interface SingleSelectState

Definition

export interface SingleSelectState

Comments

Properties specific to the SingleSelectModel.

Properties

NameOptionalDefinitionComment
groupNametruestring

String to uniquely identify the group of radio buttons.

Remarks

If specified, must be unique across all radio button groups on the web page. Now optional because the useId hook can be used to generate an ID.

@defaultValue

undefined - an id generated by the useId hook will be used

selectedfalseRowId | null

The id of the currently selected row, or null if none is selected.

setSelectedfalse(selected: RowId | null) => void

Setter function for the "selected" property.

typefalse"single"

A type discriminator.