import React from 'react'; import { FormattedMessage } from 'react-intl'; import Link from 'components/common/Link'; import PageHeader from 'components/layout/PageHeader'; import RefreshButton from 'components/common/RefreshButton'; import ButtonLayout from 'components/layout/ButtonLayout'; import Favicon from 'components/common/Favicon'; import ActiveUsers from './ActiveUsers'; import Arrow from 'assets/arrow-right.svg'; import styles from './WebsiteHeader.module.css'; export default function WebsiteHeader({ websiteId, title, domain, showLink = false }) { let TitleHeader = showLink ? ( {title} ) : (
{title}
); return (
{TitleHeader}
{showLink && ( } size="small" iconRight > )}
); }