import React from 'react'; import { ChevronDownIcon } from '@100mslive/react-icons'; import { Flex } from '../../../Layout'; import { Text } from '../../../Text'; // @ts-ignore: No implicit any import { Logo } from '../Header/HeaderComponents'; import { RoomDetailsRow } from '../RoomDetails/RoomDetailsRow'; import { useRoomLayoutHeader } from '../../provider/roomLayoutProvider/hooks/useRoomLayoutScreen'; // @ts-ignore import { useIsSidepaneTypeOpen, useSidepaneToggle } from '../AppData/useSidepane'; import { SIDE_PANE_OPTIONS } from '../../common/constants'; /* player handler --> left -> go live with timer or live, right -> expand icon inbetween -> play pause icon, double tap to go back/forward seekbar half page will have chat or participant view */ export const HLSViewTitle = () => { const { title, details, description } = useRoomLayoutHeader(); const toggleDetailsPane = useSidepaneToggle(SIDE_PANE_OPTIONS.ROOM_DETAILS); const isDetailSidepaneOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.ROOM_DETAILS); if (isDetailSidepaneOpen) { return ( About Session ); } return ( {title ? ( {title} ) : null} {description ? (  ...more ) : null} ); };