variable-hint.tsx
基本信息
- 类型: React 组件 (TSX)
- 路径:
src/components/prompts/variable-hint.tsx
功能描述
Regex to match our supported variable format: ${name} or ${name:default}
导出内容
- <code>VariableHint</code> - 函数
依赖导入
reactnext-intllucide-react
Props/接口
interface VariableHintProps {
content: string;
onContentChange: (newContent: string) => void;
}
使用说明
在 JSX/TSX 中导入使用