import { RcButton, RcDrawer, RcIcon, RcTypography } from '@ringcentral/juno'; import { CallAdd } from '@ringcentral/juno-icon'; import clsx from 'clsx'; import { props } from 'ramda'; import type { FunctionComponent } from 'react'; import React, { useEffect, useRef, useState } from 'react'; import type { MoreActionComponentProps } from './MoreActionComponent.interface'; import i18n from './i18n'; import styles from './styles.scss'; export const LeaveConferenceCall: FunctionComponent<{ currentLocale: string; onEndCallForEveryOne: () => any; onLeaveCall: () => any; }> = (props) => { const { currentLocale, onLeaveCall, onEndCallForEveryOne } = props; return ( <>
{i18n.getString('leaveOrEndCall', currentLocale)} {i18n.getString('leaveCall', currentLocale)} {i18n.getString('endCallForEveryone', currentLocale)}
); };