import React from 'react'; import * as HeaderButton from '../../../containers/HeaderButton'; import { useVideoConf } from '../../../lib/hooks/useVideoConf'; export const HeaderCallButton = ({ rid }: { rid: string }): React.ReactElement | null => { const { showInitCallActionSheet, callEnabled, disabledTooltip } = useVideoConf(rid); if (callEnabled) return ( ); return null; };