// Copyright 2023 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import React from 'react'; import type { ReactNode } from 'react'; import type { LocalizerType } from '../types/I18N'; import { Button, ButtonSize, ButtonVariant } from './Button'; type Props = { i18n: LocalizerType; children: ReactNode; onCancel: () => void; onSend: () => void; }; export function RecordingComposer({ i18n, onCancel, onSend, children, }: Props): JSX.Element { return (