/**
 * Rate-limit assistant message renderer — stub.
 *
 * The upstream component rendered a styled rate-limit error block with a
 * "view rate-limit options" affordance. Sandcode's rate-limit pipeline is
 * removed; this stub renders the raw text so the assistant message still
 * shows the error without the styled chrome.
 */
import * as React from 'react'
import { Text } from '../../ink.js'

type Props = {
  text: string
  onOpenRateLimitOptions?: () => void
}

export function RateLimitMessage({ text }: Props): React.ReactNode {
  return <Text color="red">{text}</Text>
}
