Skip to content

Commit

Permalink
refactor: move parameters to components folder (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonom authored Jun 23, 2024
1 parent 392b728 commit afea656
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/www/pages/reference/context.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The context is split into four hierarchies:
- **Content Part Context**: Provides access to the content part state.


import { AssistantContextValue } from "./contextParameters";
import { AssistantContextValue } from "@/components/docs/parameters/context";

## Assistant Context

Expand Down Expand Up @@ -73,4 +73,4 @@ This hook provides access to the context stores.
import { useContentPartContext } from "@assistant-ui/react";

const { useContentPart } = useContentPartContext();
```
```../../components/docs/parameters/contextParameters
4 changes: 2 additions & 2 deletions apps/www/pages/reference/runtime.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Runtime API
---

import { AssistantRuntimeProviderProps } from "./runtimeParameters";
import { AssistantRuntimeProviderProps } from "@/components/docs/parameters/runtime";

### `AssistantRuntimeProvider`

Expand All @@ -25,4 +25,4 @@ const MyApp = () => {

#### Properties

<AssistantRuntimeProviderProps />
<AssistantRuntimeProviderProps />../../components/docs/parameters/runtimeParameters

0 comments on commit afea656

Please sign in to comment.