Skip to main content

RtkLeaveButton

A button which toggles visilibility of the leave confirmation dialog.

<View>
<RtkLeaveButton size="sm" />
<RtkLeaveButton size="lg" />
<RtkLeaveButton variant="horizontal" />
</View>

Props

iconPack

Icon pack

Default
defaultIconPack

size

Size

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

t

Language

Default
useLanguage()

variant

Variant

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