owncast/web/components/ui/Header/Header.tsx

22 lines
488 B
TypeScript
Raw Normal View History

import { Layout } from 'antd';
import { OwncastLogo, UserDropdown } from '../../common';
import s from './Header.module.scss';
const { Header } = Layout;
interface Props {
name: string;
}
export default function HeaderComponent({ name = 'Your stream title' }: Props) {
return (
<Header className={`${s.header}`}>
<div className={`${s.logo}`}>
2022-05-12 09:31:31 +03:00
<OwncastLogo variant="contrast" />
<span>{name}</span>
</div>
<UserDropdown />
</Header>
);
}