DisconnectButton
The DisconnectButton is a basic html button with the added ability to disconnect from a LiveKit room. Normally, it is used by end-users to leave a video or audio call.
Import
import { DisconnectButton } from '@livekit/components-react';
Usage
<LiveKitRoom><DisconnectButton>Leave room</DisconnectButton></LiveKitRoom>
Properties
(Optional)