ClearPinButton
The ClearPinButton is a basic html button with the added ability to signal the LiveKitRoom that it should display the grid view again.
Import
import { ClearPinButton } from '@livekit/components-react';
Remarks
This component works only inside a PinContext.
Usage
<LiveKitRoom><ClearPinButton>Leave room</ClearPinButton></LiveKitRoom>