Skip to main content

dyte-settings-toggle

A button which toggles visibility of chat.

When clicked it emits a dyteStateUpdate event with the data:

{
activeSettings: boolean;
}

Props

iconPack

Icon pack

Default
defaultIconPack

size

Size

Type
"lg" | "md" | "sm" | "xl"

states

States object

Type
States

t

Language

Default
useLanguage()

variant

Variant

Default
'button'
Type
"button" | "horizontal"