Skip to main content

Interface: ToggleGroupProperties<TValue>

Defined in: src/components/Dashboard/SiteList/SiteListToggleGroup.tsx:19

Props for ToggleGroup.

Type Parametersโ€‹

TValueโ€‹

TValue extends string

Propertiesโ€‹

ariaLabelโ€‹

readonly ariaLabel: string;

Defined in: src/components/Dashboard/SiteList/SiteListToggleGroup.tsx:20


buttonClassNameโ€‹

readonly buttonClassName: string;

Defined in: src/components/Dashboard/SiteList/SiteListToggleGroup.tsx:21


buttonClassNameActiveโ€‹

readonly buttonClassNameActive: string;

Defined in: src/components/Dashboard/SiteList/SiteListToggleGroup.tsx:22


containerClassNameโ€‹

readonly containerClassName: string;

Defined in: src/components/Dashboard/SiteList/SiteListToggleGroup.tsx:23


getDataAttributesโ€‹

readonly getDataAttributes: (value: TValue) => Record<string, string>;

Defined in: src/components/Dashboard/SiteList/SiteListToggleGroup.tsx:24

Parametersโ€‹

valueโ€‹

TValue

Returnsโ€‹

Record<string, string>


iconClassNameโ€‹

readonly iconClassName: string;

Defined in: src/components/Dashboard/SiteList/SiteListToggleGroup.tsx:25


labelClassNameโ€‹

readonly labelClassName: string;

Defined in: src/components/Dashboard/SiteList/SiteListToggleGroup.tsx:26


onClickโ€‹

readonly onClick: (event: MouseEvent<HTMLButtonElement>) => void;

Defined in: src/components/Dashboard/SiteList/SiteListToggleGroup.tsx:27

Parametersโ€‹

eventโ€‹

MouseEvent<HTMLButtonElement>

Returnsโ€‹

void


optionsโ€‹

readonly options: readonly ToggleGroupOption<TValue>[];

Defined in: src/components/Dashboard/SiteList/SiteListToggleGroup.tsx:28


selectedValueโ€‹

readonly selectedValue: TValue;

Defined in: src/components/Dashboard/SiteList/SiteListToggleGroup.tsx:29