// Copyright 2021 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import React from 'react'; import { Button, ButtonVariant } from './Button'; import { LocalizerType } from '../types/Util'; export type PropsType = { i18n: LocalizerType; onCloseController: () => unknown; onStopSharing: () => unknown; presentedSourceName: string; }; export const CallingScreenSharingController = ({ i18n, onCloseController, onStopSharing, presentedSourceName, }: PropsType): JSX.Element => { return (