Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions snaps/get-started/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ export const onRpcRequest: OnRpcRequestHandler = async ({ origin, request }) =>
</TabItem>
<TabItem value="Functions" deprecated>

:::note
The **Functions** tab uses the legacy/deprecated Functions-based UI API (`panel()` and `text()` from `@metamask/snaps-sdk`). For new Snaps, use the JSX-based UI shown in the **JSX** tab. The Functions API is maintained for legacy examples.
:::

```ts title="index.ts"
import type { OnRpcRequestHandler } from '@metamask/snaps-sdk'
import { panel, text } from '@metamask/snaps-sdk'
Expand Down