You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
488 B
21 lines
488 B
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}`}> |
|
<OwncastLogo variant="contrast" /> |
|
<span>{name}</span> |
|
</div> |
|
<UserDropdown /> |
|
</Header> |
|
); |
|
}
|
|
|