mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-31 07:00:26 +00:00
WIP
This commit is contained in:
@@ -245,6 +245,23 @@ export function SettingsButton({
|
||||
);
|
||||
}
|
||||
|
||||
export function SimulateJoinButton(props: {
|
||||
className?: string;
|
||||
// TODO: add all props for <Button>
|
||||
[index: string]: unknown;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const tooltip = useCallback(() => "Add a fake participant", [t]);
|
||||
|
||||
return (
|
||||
<TooltipTrigger tooltip={tooltip}>
|
||||
<Button variant="toolbar" {...props}>
|
||||
<AddUserIcon width={20} height={20} />
|
||||
</Button>
|
||||
</TooltipTrigger>
|
||||
);
|
||||
}
|
||||
|
||||
export function InviteButton({
|
||||
className,
|
||||
variant = "toolbar",
|
||||
|
||||
Reference in New Issue
Block a user