Skip to content

Commit e2d2f75

Browse files
committed
reviewer edits
1 parent 77722cd commit e2d2f75

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

components/code-groups.mdx

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ class HelloWorld {
2828

2929
</CodeGroup>
3030

31-
### Language dropdown
31+
## Language dropdown
3232

33-
You can also show a dropdown button to toggle the code groups with languages as the options.
33+
You can replace the tabs in a code group with a dropdown menu to toggle between languages.
3434

3535
<CodeGroup dropdown>
3636

@@ -52,7 +52,11 @@ class HelloWorld {
5252

5353
</CodeGroup>
5454

55+
### Props
5556

57+
<ResponseField name="dropdown" type="boolean">
58+
Whether to show a dropdown button to toggle the code groups with languages as the options.
59+
</ResponseField>
5660

5761
<RequestExample>
5862

@@ -79,10 +83,3 @@ class HelloWorld {
7983
````
8084

8185
</RequestExample>
82-
83-
### Props
84-
85-
<ResponseField name="dropdown" type="boolean">
86-
Whether to show a dropdown button to toggle the code groups with languages as the options.
87-
</ResponseField>
88-

0 commit comments

Comments
 (0)