🌐 AI搜索 & 代理 主页
Skip to content

Commit 97fc60b

Browse files
cvnjacobmllr95
andauthored
chore(docs): fix typos in the Dropdown README (#6231)
Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>
1 parent 31f2501 commit 97fc60b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/components/dropdown/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -451,13 +451,13 @@ Disabled the dropdown item button by setting the `disabled` prop.
451451
</b-dropdown>
452452
</div>
453453

454-
<!-- b-dropdown-item-buttons.vue -->
454+
<!-- b-dropdown-item-button.vue -->
455455
```
456456

457457
When the menu item doesn't trigger navigation, it is recommended to use the
458458
`<b-dropdown-item-button>` sub-component.
459459

460-
### `<b-dropdown-item-divider>`
460+
### `<b-dropdown-divider>`
461461

462462
Separate groups of related menu items with `<b-dropdown-divider>`.
463463

@@ -471,7 +471,7 @@ Separate groups of related menu items with `<b-dropdown-divider>`.
471471
</b-dropdown>
472472
</div>
473473

474-
<!-- b-dropdown-item-divider.vue -->
474+
<!-- b-dropdown-divider.vue -->
475475
```
476476

477477
### `<b-dropdown-text>`
@@ -562,7 +562,7 @@ some basic styles which are suitable in most situations. By default its width wi
562562
the widest `<b-dropdown-item>` content. You may need to place additional styles or helper classes on
563563
the component.
564564

565-
### `<b-dropdown-item-group>`
565+
### `<b-dropdown-group>`
566566

567567
Group a set of dropdown sub components with an optional associated header. Place a
568568
`<b-dropdown-divider>` between your `<b-dropdown-group>` and other groups or non-grouped dropdown
@@ -590,13 +590,13 @@ contents
590590
</b-dropdown>
591591
</div>
592592

593-
<!-- b-dropdown-item-group.vue -->
593+
<!-- b-dropdown-group.vue -->
594594
```
595595

596596
Using `<b-dropdown-group>` instead of `<b-dropdown-header>` is the recommended method for providing
597597
accessible grouped items with a header.
598598

599-
### `<b-dropdown-item-header>`
599+
### `<b-dropdown-header>`
600600

601601
Add a header to label sections of actions in any dropdown menu.
602602

@@ -615,7 +615,7 @@ Add a header to label sections of actions in any dropdown menu.
615615
</b-dropdown>
616616
</div>
617617

618-
<!-- b-dropdown-item-header.vue -->
618+
<!-- b-dropdown-header.vue -->
619619
```
620620

621621
See Section [Dropdown headers and accessibility](#dropdown-headers-and-accessibility) for details on

0 commit comments

Comments
 (0)