Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

678 B
Raw Blame
'use client';

import { type ReactNode } from 'react';

export const ShareLogoLink = ({ children }: { children: ReactNode }) => (
  <a href={'/'} style={{ color: 'inherit', display: 'flex' }}>
    {children}
  </a>
);

export const ShareHeaderMenu = () => null;

// Cloud can supply native-app entry and compact actions without replacing the share layout.
export interface ShareHeaderActionsProps {
  actions?: ReactNode;
  compactActions?: { key: string; label: string; onClick: () => void }[];
  copyLink?: ReactNode;
}

export const ShareHeaderActions = ({ actions, copyLink }: ShareHeaderActionsProps) => (
  <>
    {actions}
    {copyLink}
    <ShareHeaderMenu />
  </>
);