Skip to content

Commit cba9835

Browse files
docs: remove Option B from comments sidebar v2 setup (#244)
Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
1 parent 71d40e4 commit cba9835

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

  • async-collaboration/comments-sidebar/v2

async-collaboration/comments-sidebar/v2/setup.mdx

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
title: "Setup"
33
---
44

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.
66

77
<Tabs>
88
<Tab title="React / Next.js">
99

10-
**Option A — Direct import:**
1110
```jsx
1211
import {
1312
VeltProvider,
@@ -30,24 +29,13 @@ export default function App() {
3029
}
3130
```
3231

33-
**Option B — Version prop on existing component:**
34-
```jsx
35-
<VeltCommentsSidebar version="2" />
36-
```
37-
3832
</Tab>
3933
<Tab title="Other Frameworks">
4034

41-
**Option A — Direct element:**
4235
```html
4336
<velt-comments-sidebar-v2></velt-comments-sidebar-v2>
4437
```
4538

46-
**Option B — Version attribute on existing element:**
47-
```html
48-
<velt-comments-sidebar version="2"></velt-comments-sidebar>
49-
```
50-
5139
</Tab>
5240
</Tabs>
5341

0 commit comments

Comments
 (0)