update examples
This commit is contained in:
parent
adc73e4fa6
commit
b6da14cefd
1 changed files with 93 additions and 47 deletions
|
|
@ -1,3 +1,6 @@
|
|||
/**
|
||||
* @file App that demonstrates a few features using React + the Apps SDK.
|
||||
*/
|
||||
import { useState, useCallback } from "react";
|
||||
import { createRoot } from "react-dom/client";
|
||||
import {
|
||||
|
|
@ -13,8 +16,8 @@ import type {
|
|||
const APP_INFO: Implementation = {
|
||||
name: "MCP UI React Example Client",
|
||||
version: "1.0.0",
|
||||
protocolVersion: "2025-06-18",
|
||||
};
|
||||
|
||||
export function McpClientApp() {
|
||||
const [toolResults, setToolResults] = useState<CallToolResult[]>([]);
|
||||
const [messages, setMessages] = useState<string[]>([]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue