Skip to main content

DyteCameraToggle

A button which toggles your camera.

<Center>
<DyteCameraToggle size="sm" meeting={meeting} />
<DyteCameraToggle size="lg" meeting={meeting} />
<DyteCameraToggle variant="horizontal" size="sm" meeting={meeting} />
</Center>

Props

iconPack

Icon pack

Default
defaultIconPack

meeting

Meeting object

size

Size

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

t

Language

Default
useLanguage()

variant

Variant

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