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.

291 B
Raw Blame
import type { ReactNode } from 'react';

/** Native textarea placeholders only accept text; rich editor placeholders render after hydration. */
export const getFallbackPlaceholder = (placeholder: ReactNode): string | undefined =>
  typeof placeholder === 'string' ? placeholder : undefined;