widget-card.tsx
基本信息
- 类型: React 组件 (TSX)
- 路径:
src/components/prompts/widget-card.tsx
功能描述
If widget has a custom render function, use it
导出内容
- <code>WidgetCardProps</code> - 接口
依赖导入
reactnext/linknext/imagenext-intl@/components/ui/badge@/lib/analytics@/lib/plugins/widgetslucide-reactsonner@/components/prompts/run-prompt-button
Props/接口
interface WidgetCardProps {
prompt: WidgetPrompt;
}
使用说明
在 JSX/TSX 中导入使用