You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: async-collaboration/comments-sidebar/v2/setup.mdx
+1-13Lines changed: 1 addition & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,11 @@
2
2
title: "Setup"
3
3
---
4
4
5
-
The V2 sidebar is a fully primitive-based implementation. Use it by either importing `VeltCommentsSidebarV2` directly or passing `version="2"` on the existing `VeltCommentsSidebar`.
5
+
The V2 sidebar is a fully primitive-based implementation. Import `VeltCommentsSidebarV2` directly to use it.
6
6
7
7
<Tabs>
8
8
<Tabtitle="React / Next.js">
9
9
10
-
**Option A — Direct import:**
11
10
```jsx
12
11
import {
13
12
VeltProvider,
@@ -30,24 +29,13 @@ export default function App() {
30
29
}
31
30
```
32
31
33
-
**Option B — Version prop on existing component:**
0 commit comments