mirror of
https://github.com/upstash/context7.git
synced 2026-09-14 19:09:34 +08:00
6d777619c2
Co-authored-by: Context7 Agent <docs-agent@context7.com> Co-authored-by: Josh <josh@upstash.com> Co-authored-by: context7[bot] <236830434+context7[bot]@users.noreply.github.com>
31 lines
476 B
Plaintext
31 lines
476 B
Plaintext
---
|
|
title: View
|
|
description: Let readers switch between versions of page content
|
|
---
|
|
|
|
Sibling `<View>` components form one selector.
|
|
|
|
## Usage
|
|
|
|
```mdx
|
|
<View title="React" icon="react">
|
|
React instructions.
|
|
</View>
|
|
|
|
<View title="Vue" icon="vuejs">
|
|
Vue instructions.
|
|
</View>
|
|
```
|
|
|
|
`title` is required. `icon` and `iconType` are optional.
|
|
|
|
## Example
|
|
|
|
<View title="React" icon="react">
|
|
React instructions.
|
|
</View>
|
|
|
|
<View title="Vue" icon="vuejs">
|
|
Vue instructions.
|
|
</View>
|