Files
upstream-jitsi-meet/react/features/conference/components/web/ConferenceInfoContainer.tsx
upstream-mirror 1d2bfcac0c
Some checks failed
Prosody Plugin Tests / test (push) Failing after 10m11s
Close stale issues and PRs / stale (push) Failing after 1s
snapshot of https://github.com/jitsi/jitsi-meet.git @ fd1749dd28f4138aa80234fc7f311b19aaffa0e7 (2026-09-15)
2026-09-15 15:56:32 +05:00

32 lines
670 B
TypeScript

import React from 'react';
import { isAlwaysOnTitleBarEmpty } from '../functions.web';
interface IProps {
/**
* The children components.
*/
children: React.ReactNode;
/**
* Id of the component.
*/
id?: string;
/**
* Whether this conference info container should be visible or not.
*/
visible: boolean;
}
export default ({ visible, children, id }: IProps) => (
<div
className = { `subject${isAlwaysOnTitleBarEmpty() ? '' : ' with-always-on'}${visible ? ' visible' : ''}` }
id = { id }>
<div className = { 'subject-info-container' }>
{children}
</div>
</div>
);