2026-05-14 11:07:10 -04:00
|
|
|
import React, { MouseEventHandler, useCallback, useEffect, useRef, useState } from 'react';
|
2026-03-09 14:04:48 +11:00
|
|
|
import {
|
|
|
|
|
Box,
|
|
|
|
|
Button,
|
2026-05-14 19:37:19 -04:00
|
|
|
Chip,
|
2026-03-09 14:04:48 +11:00
|
|
|
config,
|
|
|
|
|
Icon,
|
|
|
|
|
IconButton,
|
|
|
|
|
Icons,
|
|
|
|
|
Menu,
|
|
|
|
|
MenuItem,
|
|
|
|
|
PopOut,
|
|
|
|
|
RectCords,
|
|
|
|
|
Spinner,
|
|
|
|
|
Text,
|
|
|
|
|
toRem,
|
|
|
|
|
} from 'folds';
|
|
|
|
|
import FocusTrap from 'focus-trap-react';
|
|
|
|
|
import { SequenceCard } from '../../components/sequence-card';
|
|
|
|
|
import * as css from './styles.css';
|
|
|
|
|
import {
|
|
|
|
|
ChatButton,
|
|
|
|
|
ControlDivider,
|
|
|
|
|
MicrophoneButton,
|
|
|
|
|
ScreenShareButton,
|
|
|
|
|
SoundButton,
|
|
|
|
|
VideoButton,
|
|
|
|
|
} from './Controls';
|
|
|
|
|
import { CallEmbed, useCallControlState } from '../../plugins/call';
|
2026-05-14 11:07:10 -04:00
|
|
|
import { useSetting } from '../../state/hooks/settings';
|
|
|
|
|
import { settingsAtom } from '../../state/settings';
|
2026-03-09 14:04:48 +11:00
|
|
|
import { useResizeObserver } from '../../hooks/useResizeObserver';
|
|
|
|
|
import { stopPropagation } from '../../utils/keyboard';
|
|
|
|
|
import { AsyncStatus, useAsyncCallback } from '../../hooks/useAsyncCallback';
|
|
|
|
|
|
|
|
|
|
type CallControlsProps = {
|
|
|
|
|
callEmbed: CallEmbed;
|
|
|
|
|
};
|
|
|
|
|
export function CallControls({ callEmbed }: CallControlsProps) {
|
|
|
|
|
const controlRef = useRef<HTMLDivElement>(null);
|
|
|
|
|
const [compact, setCompact] = useState(document.body.clientWidth < 500);
|
|
|
|
|
|
|
|
|
|
useResizeObserver(
|
|
|
|
|
useCallback(() => {
|
|
|
|
|
const element = controlRef.current;
|
|
|
|
|
if (!element) return;
|
|
|
|
|
setCompact(element.clientWidth < 500);
|
|
|
|
|
}, []),
|
2026-05-21 23:30:50 -04:00
|
|
|
useCallback(() => controlRef.current, []),
|
2026-03-09 14:04:48 +11:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
const { microphone, video, sound, screenshare, spotlight } = useCallControlState(
|
2026-05-21 23:30:50 -04:00
|
|
|
callEmbed.control,
|
2026-03-09 14:04:48 +11:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
const [cords, setCords] = useState<RectCords>();
|
2026-05-14 11:07:10 -04:00
|
|
|
const [shareConfirm, setShareConfirm] = useState(false);
|
|
|
|
|
const [pttMode] = useSetting(settingsAtom, 'pttMode');
|
|
|
|
|
const [pttKey] = useSetting(settingsAtom, 'pttKey');
|
2026-05-15 13:37:03 -04:00
|
|
|
const [lotusTerminal] = useSetting(settingsAtom, 'lotusTerminal');
|
2026-05-14 11:07:10 -04:00
|
|
|
const [pttActive, setPttActive] = useState(false);
|
2026-03-09 14:04:48 +11:00
|
|
|
|
2026-05-14 20:14:06 -04:00
|
|
|
// Track microphone via ref so the PTT effect doesn't need it as a dep (avoids listener churn)
|
|
|
|
|
const microphoneRef = useRef(microphone);
|
2026-05-21 20:49:33 -04:00
|
|
|
useEffect(() => {
|
|
|
|
|
microphoneRef.current = microphone;
|
|
|
|
|
}, [microphone]);
|
2026-05-14 20:14:06 -04:00
|
|
|
|
2026-05-16 01:59:42 -04:00
|
|
|
// Handle PTT mode toggle mid-call — save/restore mic state (I-4)
|
2026-05-14 19:14:29 -04:00
|
|
|
const pttModeRef = useRef(pttMode);
|
2026-05-16 01:59:42 -04:00
|
|
|
const micBeforePTTRef = useRef<boolean | null>(null);
|
2026-05-14 19:14:29 -04:00
|
|
|
useEffect(() => {
|
2026-05-14 19:29:45 -04:00
|
|
|
if (pttMode && !pttModeRef.current) {
|
2026-05-16 01:59:42 -04:00
|
|
|
micBeforePTTRef.current = microphoneRef.current;
|
2026-05-14 19:14:29 -04:00
|
|
|
callEmbed.control.setMicrophone(false);
|
2026-05-14 19:29:45 -04:00
|
|
|
} else if (!pttMode && pttModeRef.current) {
|
2026-05-16 01:59:42 -04:00
|
|
|
callEmbed.control.setMicrophone(micBeforePTTRef.current ?? true);
|
|
|
|
|
micBeforePTTRef.current = null;
|
2026-05-14 19:14:29 -04:00
|
|
|
}
|
|
|
|
|
pttModeRef.current = pttMode;
|
2026-05-14 19:29:45 -04:00
|
|
|
}, [pttMode, callEmbed]);
|
2026-05-14 19:14:29 -04:00
|
|
|
|
2026-03-09 14:04:48 +11:00
|
|
|
const handleOpenMenu: MouseEventHandler<HTMLButtonElement> = (evt) => {
|
|
|
|
|
setCords(evt.currentTarget.getBoundingClientRect());
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const handleSpotlightClick = () => {
|
|
|
|
|
callEmbed.control.toggleSpotlight();
|
|
|
|
|
setCords(undefined);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const handleReactionsClick = () => {
|
|
|
|
|
callEmbed.control.toggleReactions();
|
|
|
|
|
setCords(undefined);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const handleSettingsClick = () => {
|
|
|
|
|
callEmbed.control.toggleSettings();
|
|
|
|
|
setCords(undefined);
|
|
|
|
|
};
|
|
|
|
|
|
2026-05-19 16:45:02 -04:00
|
|
|
const pttActiveRef = useRef(false);
|
|
|
|
|
|
2026-05-14 11:07:10 -04:00
|
|
|
useEffect(() => {
|
|
|
|
|
if (!pttMode) return;
|
2026-05-14 20:14:06 -04:00
|
|
|
const iframeWindow = callEmbed.iframe.contentWindow;
|
|
|
|
|
|
2026-05-14 11:07:10 -04:00
|
|
|
const onKeyDown = (e: KeyboardEvent) => {
|
2026-05-14 20:14:06 -04:00
|
|
|
if (e.code !== pttKey || e.repeat) return;
|
|
|
|
|
const target = e.target as HTMLElement;
|
2026-05-19 16:45:02 -04:00
|
|
|
// BUG-7: use ownerDocument.body so isEditable works inside the EC iframe
|
2026-05-15 15:08:55 -04:00
|
|
|
const isEditable = (el: HTMLElement): boolean => {
|
|
|
|
|
const tag = el.tagName;
|
|
|
|
|
if (tag === 'INPUT' || tag === 'TEXTAREA' || tag === 'SELECT') return true;
|
|
|
|
|
let node: HTMLElement | null = el;
|
2026-05-19 16:45:02 -04:00
|
|
|
while (node && node !== el.ownerDocument.body) {
|
2026-05-15 15:08:55 -04:00
|
|
|
if (node.contentEditable === 'true') return true;
|
|
|
|
|
if (node.contentEditable === 'false') return false;
|
|
|
|
|
node = node.parentElement;
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
};
|
|
|
|
|
if (isEditable(target)) return;
|
2026-05-14 20:14:06 -04:00
|
|
|
e.preventDefault();
|
|
|
|
|
if (!microphoneRef.current) callEmbed.control.setMicrophone(true);
|
2026-05-19 16:45:02 -04:00
|
|
|
pttActiveRef.current = true;
|
2026-05-14 20:14:06 -04:00
|
|
|
setPttActive(true);
|
2026-05-14 11:07:10 -04:00
|
|
|
};
|
|
|
|
|
const onKeyUp = (e: KeyboardEvent) => {
|
2026-05-14 20:14:06 -04:00
|
|
|
if (e.code !== pttKey) return;
|
|
|
|
|
callEmbed.control.setMicrophone(false);
|
2026-05-19 16:45:02 -04:00
|
|
|
pttActiveRef.current = false;
|
2026-05-14 20:14:06 -04:00
|
|
|
setPttActive(false);
|
2026-05-14 11:07:10 -04:00
|
|
|
};
|
2026-05-14 19:29:45 -04:00
|
|
|
const onBlur = () => {
|
|
|
|
|
callEmbed.control.setMicrophone(false);
|
2026-05-19 16:45:02 -04:00
|
|
|
pttActiveRef.current = false;
|
2026-05-14 19:29:45 -04:00
|
|
|
setPttActive(false);
|
|
|
|
|
};
|
2026-05-14 20:14:06 -04:00
|
|
|
const onFocus = () => {
|
|
|
|
|
callEmbed.control.setMicrophone(false);
|
2026-05-19 16:45:02 -04:00
|
|
|
pttActiveRef.current = false;
|
2026-05-14 20:14:06 -04:00
|
|
|
setPttActive(false);
|
|
|
|
|
};
|
2026-05-14 11:07:10 -04:00
|
|
|
window.addEventListener('keydown', onKeyDown);
|
|
|
|
|
window.addEventListener('keyup', onKeyUp);
|
2026-05-14 19:29:45 -04:00
|
|
|
window.addEventListener('blur', onBlur);
|
2026-05-14 20:14:06 -04:00
|
|
|
window.addEventListener('focus', onFocus);
|
2026-05-19 16:45:02 -04:00
|
|
|
// BUG-9: also wire iframe blur/focus so stuck-mic release works when focus moves to iframe
|
2026-05-14 19:37:19 -04:00
|
|
|
iframeWindow?.addEventListener('keydown', onKeyDown);
|
|
|
|
|
iframeWindow?.addEventListener('keyup', onKeyUp);
|
2026-05-19 16:45:02 -04:00
|
|
|
iframeWindow?.addEventListener('blur', onBlur);
|
|
|
|
|
iframeWindow?.addEventListener('focus', onFocus);
|
2026-05-14 11:07:10 -04:00
|
|
|
return () => {
|
|
|
|
|
window.removeEventListener('keydown', onKeyDown);
|
|
|
|
|
window.removeEventListener('keyup', onKeyUp);
|
2026-05-14 19:29:45 -04:00
|
|
|
window.removeEventListener('blur', onBlur);
|
2026-05-14 20:14:06 -04:00
|
|
|
window.removeEventListener('focus', onFocus);
|
2026-05-14 19:37:19 -04:00
|
|
|
iframeWindow?.removeEventListener('keydown', onKeyDown);
|
|
|
|
|
iframeWindow?.removeEventListener('keyup', onKeyUp);
|
2026-05-19 16:45:02 -04:00
|
|
|
iframeWindow?.removeEventListener('blur', onBlur);
|
|
|
|
|
iframeWindow?.removeEventListener('focus', onFocus);
|
|
|
|
|
// BUG-8: if callEmbed changes while PTT is active, release mic on cleanup
|
|
|
|
|
if (pttActiveRef.current) {
|
|
|
|
|
callEmbed.control.setMicrophone(false);
|
|
|
|
|
pttActiveRef.current = false;
|
|
|
|
|
setPttActive(false);
|
|
|
|
|
}
|
2026-05-14 11:07:10 -04:00
|
|
|
};
|
2026-05-21 20:49:33 -04:00
|
|
|
// microphone intentionally read via microphoneRef — excluded from deps to avoid listener churn
|
2026-05-14 20:14:06 -04:00
|
|
|
}, [pttMode, pttKey, callEmbed]);
|
2026-05-14 11:07:10 -04:00
|
|
|
|
2026-03-09 14:04:48 +11:00
|
|
|
const [hangupState, hangup] = useAsyncCallback(
|
2026-05-21 23:30:50 -04:00
|
|
|
useCallback(() => callEmbed.hangup(), [callEmbed]),
|
2026-03-09 14:04:48 +11:00
|
|
|
);
|
|
|
|
|
const exiting =
|
|
|
|
|
hangupState.status === AsyncStatus.Loading || hangupState.status === AsyncStatus.Success;
|
|
|
|
|
|
2026-05-14 11:07:10 -04:00
|
|
|
const pttKeyLabel = pttKey === 'Space' ? 'SPACE' : pttKey.replace('Key', '').replace('Digit', '');
|
|
|
|
|
|
2026-03-09 14:04:48 +11:00
|
|
|
return (
|
|
|
|
|
<Box
|
|
|
|
|
ref={controlRef}
|
|
|
|
|
className={css.CallControlContainer}
|
|
|
|
|
justifyContent="Center"
|
|
|
|
|
alignItems="Center"
|
|
|
|
|
>
|
2026-05-21 20:49:33 -04:00
|
|
|
{pttMode &&
|
|
|
|
|
(lotusTerminal ? (
|
|
|
|
|
<Box
|
|
|
|
|
style={{
|
|
|
|
|
position: 'absolute',
|
|
|
|
|
top: '-2.5rem',
|
|
|
|
|
left: '50%',
|
|
|
|
|
transform: 'translateX(-50%)',
|
|
|
|
|
background: pttActive ? 'rgba(0,255,136,0.18)' : 'rgba(255,107,0,0.12)',
|
|
|
|
|
border: `1px solid ${pttActive ? 'rgba(0,255,136,0.55)' : 'rgba(255,107,0,0.35)'}`,
|
|
|
|
|
borderRadius: '99px',
|
|
|
|
|
padding: '0.2rem 0.9rem',
|
|
|
|
|
pointerEvents: 'none',
|
|
|
|
|
whiteSpace: 'nowrap',
|
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
<Text
|
|
|
|
|
size="T200"
|
|
|
|
|
style={{
|
|
|
|
|
color: pttActive ? '#00FF88' : '#FF6B00',
|
|
|
|
|
fontWeight: 700,
|
|
|
|
|
letterSpacing: '0.08em',
|
|
|
|
|
fontFamily: 'JetBrains Mono, monospace',
|
|
|
|
|
}}
|
|
|
|
|
>
|
2026-05-15 13:37:03 -04:00
|
|
|
{pttActive ? '● LIVE' : `PTT — Hold ${pttKeyLabel}`}
|
|
|
|
|
</Text>
|
|
|
|
|
</Box>
|
|
|
|
|
) : (
|
|
|
|
|
<Chip
|
|
|
|
|
variant={pttActive ? 'Success' : 'Warning'}
|
|
|
|
|
fill="Soft"
|
|
|
|
|
radii="400"
|
|
|
|
|
style={{
|
|
|
|
|
position: 'absolute',
|
|
|
|
|
top: '-2.2rem',
|
|
|
|
|
left: '50%',
|
|
|
|
|
transform: 'translateX(-50%)',
|
|
|
|
|
pointerEvents: 'none',
|
|
|
|
|
whiteSpace: 'nowrap',
|
|
|
|
|
}}
|
|
|
|
|
outlined
|
|
|
|
|
>
|
|
|
|
|
<Text size="T200" style={{ fontWeight: 700 }}>
|
|
|
|
|
{pttActive ? '● Live' : `PTT — Hold ${pttKeyLabel}`}
|
|
|
|
|
</Text>
|
|
|
|
|
</Chip>
|
2026-05-21 20:49:33 -04:00
|
|
|
))}
|
2026-05-14 11:07:10 -04:00
|
|
|
{shareConfirm && (
|
|
|
|
|
<Box
|
|
|
|
|
style={{
|
|
|
|
|
position: 'absolute',
|
|
|
|
|
bottom: '110%',
|
|
|
|
|
left: '50%',
|
|
|
|
|
transform: 'translateX(-50%)',
|
|
|
|
|
background: 'var(--bg-surface)',
|
|
|
|
|
border: '1px solid var(--border-color)',
|
|
|
|
|
borderRadius: '0.75rem',
|
|
|
|
|
padding: '1rem 1.25rem',
|
|
|
|
|
zIndex: 100,
|
|
|
|
|
minWidth: '260px',
|
|
|
|
|
boxShadow: '0 8px 32px rgba(0,0,0,0.35)',
|
|
|
|
|
display: 'flex',
|
|
|
|
|
flexDirection: 'column',
|
|
|
|
|
gap: '0.75rem',
|
|
|
|
|
}}
|
|
|
|
|
>
|
2026-05-21 20:49:33 -04:00
|
|
|
<Text size="T300" style={{ fontWeight: 600 }}>
|
|
|
|
|
Share your screen?
|
|
|
|
|
</Text>
|
|
|
|
|
<Text size="T200" style={{ opacity: 0.75 }}>
|
|
|
|
|
Your screen will be visible to all participants in this call.
|
|
|
|
|
</Text>
|
2026-05-14 11:07:10 -04:00
|
|
|
<Box gap="200">
|
|
|
|
|
<Button
|
2026-05-21 20:49:33 -04:00
|
|
|
size="300"
|
|
|
|
|
variant="Success"
|
|
|
|
|
fill="Solid"
|
|
|
|
|
radii="300"
|
|
|
|
|
onClick={() => {
|
|
|
|
|
callEmbed.control.toggleScreenshare();
|
|
|
|
|
setShareConfirm(false);
|
|
|
|
|
}}
|
2026-05-14 11:07:10 -04:00
|
|
|
>
|
|
|
|
|
<Text size="B300">Share</Text>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button
|
2026-05-21 20:49:33 -04:00
|
|
|
size="300"
|
|
|
|
|
variant="Secondary"
|
|
|
|
|
fill="Soft"
|
|
|
|
|
radii="300"
|
|
|
|
|
outlined
|
2026-05-14 11:07:10 -04:00
|
|
|
onClick={() => setShareConfirm(false)}
|
|
|
|
|
>
|
|
|
|
|
<Text size="B300">Cancel</Text>
|
|
|
|
|
</Button>
|
|
|
|
|
</Box>
|
|
|
|
|
</Box>
|
|
|
|
|
)}
|
2026-03-09 14:04:48 +11:00
|
|
|
<SequenceCard
|
|
|
|
|
className={css.ControlCard}
|
|
|
|
|
variant="SurfaceVariant"
|
|
|
|
|
gap="400"
|
|
|
|
|
radii="500"
|
|
|
|
|
alignItems="Center"
|
|
|
|
|
justifyContent="SpaceBetween"
|
|
|
|
|
>
|
|
|
|
|
<Box alignItems="Center" gap="Inherit" grow="Yes" direction={compact ? 'Column' : 'Row'}>
|
|
|
|
|
<Box shrink="No" alignItems="Inherit" justifyContent="Inherit" gap="200">
|
|
|
|
|
<MicrophoneButton
|
|
|
|
|
enabled={microphone}
|
|
|
|
|
onToggle={() => callEmbed.control.toggleMicrophone()}
|
|
|
|
|
/>
|
|
|
|
|
<SoundButton enabled={sound} onToggle={() => callEmbed.control.toggleSound()} />
|
|
|
|
|
</Box>
|
|
|
|
|
{!compact && <ControlDivider />}
|
|
|
|
|
<Box shrink="No" alignItems="Inherit" justifyContent="Inherit" gap="200">
|
|
|
|
|
<VideoButton enabled={video} onToggle={() => callEmbed.control.toggleVideo()} />
|
|
|
|
|
<ScreenShareButton
|
|
|
|
|
enabled={screenshare}
|
2026-05-21 20:49:33 -04:00
|
|
|
onToggle={() =>
|
|
|
|
|
screenshare ? callEmbed.control.toggleScreenshare() : setShareConfirm(true)
|
2026-05-14 11:07:10 -04:00
|
|
|
}
|
2026-03-09 14:04:48 +11:00
|
|
|
/>
|
|
|
|
|
</Box>
|
|
|
|
|
</Box>
|
|
|
|
|
{!compact && <ControlDivider />}
|
|
|
|
|
<Box alignItems="Center" gap="Inherit" grow="Yes" direction={compact ? 'Column' : 'Row'}>
|
|
|
|
|
<Box shrink="No" alignItems="Inherit" justifyContent="Inherit" gap="200">
|
|
|
|
|
<ChatButton />
|
|
|
|
|
<PopOut
|
|
|
|
|
anchor={cords}
|
|
|
|
|
position="Top"
|
|
|
|
|
align="Center"
|
|
|
|
|
content={
|
|
|
|
|
<FocusTrap
|
|
|
|
|
focusTrapOptions={{
|
|
|
|
|
initialFocus: false,
|
|
|
|
|
onDeactivate: () => setCords(undefined),
|
|
|
|
|
clickOutsideDeactivates: true,
|
|
|
|
|
isKeyForward: (evt: KeyboardEvent) => evt.key === 'ArrowDown',
|
|
|
|
|
isKeyBackward: (evt: KeyboardEvent) => evt.key === 'ArrowUp',
|
|
|
|
|
escapeDeactivates: stopPropagation,
|
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
<Menu>
|
|
|
|
|
<Box direction="Column" style={{ padding: config.space.S100 }}>
|
|
|
|
|
<MenuItem
|
|
|
|
|
size="300"
|
|
|
|
|
variant="Surface"
|
|
|
|
|
radii="300"
|
|
|
|
|
onClick={handleSpotlightClick}
|
|
|
|
|
>
|
|
|
|
|
<Text size="B300" truncate>
|
|
|
|
|
{spotlight ? 'Grid View' : 'Spotlight View'}
|
|
|
|
|
</Text>
|
|
|
|
|
</MenuItem>
|
|
|
|
|
<MenuItem
|
|
|
|
|
size="300"
|
|
|
|
|
variant="Surface"
|
|
|
|
|
radii="300"
|
|
|
|
|
onClick={handleReactionsClick}
|
|
|
|
|
>
|
|
|
|
|
<Text size="B300" truncate>
|
|
|
|
|
Reactions
|
|
|
|
|
</Text>
|
|
|
|
|
</MenuItem>
|
|
|
|
|
<MenuItem
|
|
|
|
|
size="300"
|
|
|
|
|
variant="Surface"
|
|
|
|
|
radii="300"
|
|
|
|
|
onClick={handleSettingsClick}
|
|
|
|
|
>
|
|
|
|
|
<Text size="B300" truncate>
|
|
|
|
|
Settings
|
|
|
|
|
</Text>
|
|
|
|
|
</MenuItem>
|
|
|
|
|
</Box>
|
|
|
|
|
</Menu>
|
|
|
|
|
</FocusTrap>
|
|
|
|
|
}
|
|
|
|
|
>
|
|
|
|
|
<IconButton
|
|
|
|
|
variant="Surface"
|
|
|
|
|
fill="Soft"
|
|
|
|
|
radii="400"
|
|
|
|
|
size="400"
|
|
|
|
|
onClick={handleOpenMenu}
|
|
|
|
|
outlined
|
2026-05-21 13:04:11 -04:00
|
|
|
aria-label="More options"
|
|
|
|
|
aria-expanded={!!cords}
|
|
|
|
|
aria-haspopup="menu"
|
2026-03-09 14:04:48 +11:00
|
|
|
>
|
|
|
|
|
<Icon size="400" src={Icons.VerticalDots} />
|
|
|
|
|
</IconButton>
|
|
|
|
|
</PopOut>
|
|
|
|
|
</Box>
|
|
|
|
|
<Box shrink="No" direction="Column">
|
|
|
|
|
<Button
|
|
|
|
|
style={{ minWidth: toRem(88) }}
|
|
|
|
|
variant="Critical"
|
|
|
|
|
fill="Solid"
|
|
|
|
|
onClick={hangup}
|
|
|
|
|
before={
|
|
|
|
|
exiting ? (
|
|
|
|
|
<Spinner variant="Critical" fill="Solid" size="200" />
|
|
|
|
|
) : (
|
|
|
|
|
<Icon src={Icons.PhoneDown} size="200" filled />
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
disabled={exiting}
|
|
|
|
|
>
|
|
|
|
|
<Text size="B400">End</Text>
|
|
|
|
|
</Button>
|
|
|
|
|
</Box>
|
|
|
|
|
</Box>
|
|
|
|
|
</SequenceCard>
|
|
|
|
|
</Box>
|
|
|
|
|
);
|
|
|
|
|
}
|