Skip to main content

dyte-leave-button

A button which toggles visilibility of the leave confirmation dialog.

<dyte-leave-button size="sm"></dyte-leave-button>
<dyte-leave-button size="lg"></dyte-leave-button>
<dyte-leave-button variant="horizontal" size="sm"></dyte-leave-button>

Props

iconPack

Icon pack

Default
defaultIconPack

size

Size

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

t

Language

Default
useLanguage()

variant

Variant

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