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.

423 B
Raw Blame
import * as stylex from '@stylexjs/stylex';

import { activityStyles } from './styles';

/** Three blinking dots after a "typing" label, like a chat app's typing indicator. */
export const TypingDots = () => (
  <span aria-hidden {...stylex.props(activityStyles.dots)}>
    {[0, 1, 2].map((index) => (
      <span key={index} {...stylex.props(activityStyles.typingDot, activityStyles.delay(index))} />
    ))}
  </span>
);