EndCallSummary is the post-call surface — duration, participant count, end reason, links to the composed recording + transcript, and a re-join button if you supply the closure. Composes useCallSummary, which is the same source the recording dashboard uses for asset URLs.
Install
pnpm add @levelchat/react-components @levelchat/webBasic usage
import { EndCallSummary } from '@levelchat/react-components';
<EndCallSummary onRejoin={() => router.push('/meet/' + roomId)} />Custom actions
Inject renderActions to replace the default re-join button with your own CTAs (book a follow-up, share a survey, copy the recording link):
<EndCallSummary
renderActions={(summary) => (
<>
<CopyButton text={summary.recordingUrl} />
<Button onClick={() => bookFollowup(summary.callId)}>Book follow-up</Button>
</>
)}
/>Props
| Prop | Type | Default | Notes |
|---|---|---|---|
heading | ReactNode | "Call ended" | Override the heading. |
onRejoin | () => void | — | When supplied, renders a Re-join button. |
renderActions | (s: CallSummary) => ReactNode | — | Replace the whole actions row. |
hideDismiss | boolean | false | Hide the Close button. |