import { useRecoilValue } from 'recoil'; import { ClientConfig } from '../../../interfaces/client-config.model'; import { clientConfigStateAtom } from '../../stores/ClientConfigStore'; import { ServerLogo } from '../../ui'; import CategoryIcon from '../../ui/CategoryIcon/CategoryIcon'; import SocialLinks from '../../ui/SocialLinks/SocialLinks'; import s from './StreamInfo.module.scss'; export default function StreamInfo() { const { socialHandles, name, title, tags } = useRecoilValue(clientConfigStateAtom); return (
{name}
{title}
{tags.length > 0 && tags.map(tag => #{tag} )}
); }