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