mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-24 00:51:34 +00:00
17 lines
546 B
TypeScript
17 lines
546 B
TypeScript
import React from "react"
|
|
import { useAppTranslation } from "@/i18n/TranslationContext"
|
|
|
|
export const SystemPromptWarning: React.FC = () => {
|
|
const { t } = useAppTranslation()
|
|
|
|
return (
|
|
<div className="flex items-center px-4 py-2 mb-2 text-sm rounded bg-vscode-editorWarning-foreground text-vscode-editor-background">
|
|
<div className="flex items-center justify-center w-5 h-5 mr-2">
|
|
<span className="codicon codicon-warning" />
|
|
</div>
|
|
<span>{t("chat:systemPromptWarning")}</span>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default SystemPromptWarning
|