Skip to content

Commit d2124f6

Browse files
authored
docs(submenu): Remove pre-release badges for submenu (#6296)
1 parent e48ecf1 commit d2124f6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/@react-spectrum/menu/docs/Menu.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default Layout;
1313
import contextualHelpTriggerTypes from 'docs:@react-spectrum/menu/src/ContextualHelpTrigger.tsx';
1414
import submenuTriggerTypes from 'docs:@react-spectrum/menu/src/SubmenuTrigger.tsx';
1515
import docs from 'docs:@react-spectrum/menu';
16-
import {HeaderInfo, PropTable, PageDescription, VersionBadge} from '@react-spectrum/docs';
16+
import {HeaderInfo, PropTable, PageDescription} from '@react-spectrum/docs';
1717
import packageData from '@react-spectrum/menu/package.json';
1818
import {Keyboard} from '@react-spectrum/text';
1919

@@ -311,7 +311,7 @@ import {Keyboard, Text} from '@react-spectrum/text';
311311
</MenuTrigger>
312312
```
313313

314-
## Unavailable Items <VersionBadge version="beta" style={{marginLeft: 4, verticalAlign: 'bottom'}} />
314+
## Unavailable Items
315315

316316
ContextualHelpTrigger disables a menu item's action and replaces it with a popover with information on why the item is unavailable and may link users to more information elsewhere.
317317

@@ -365,7 +365,7 @@ import {ContextualHelpTrigger} from '@react-spectrum/menu';
365365
</MenuTrigger>
366366
```
367367

368-
## Submenus <VersionBadge version="alpha" style={{marginLeft: 4, verticalAlign: 'bottom'}} />
368+
## Submenus
369369

370370
Submenus can be created by wrapping an item and a menu in a `SubmenuTrigger`. The `SubmenuTrigger` accepts exactly two children: the `Item` which triggers opening of the submenu, and the `Menu` itself.
371371
Each submenu's Menu accepts its own set of menu props, allowing you to customize its user action and selection behavior.

packages/react-aria-components/docs/Menu.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {Layout} from '@react-spectrum/docs';
1111
export default Layout;
1212

1313
import docs from 'docs:react-aria-components';
14-
import {PropTable, HeaderInfo, TypeLink, PageDescription, StateTable, ContextTable, VersionBadge} from '@react-spectrum/docs';
14+
import {PropTable, HeaderInfo, TypeLink, PageDescription, StateTable, ContextTable} from '@react-spectrum/docs';
1515
import styles from '@react-spectrum/docs/src/docs.css';
1616
import packageData from 'react-aria-components/package.json';
1717
import Anatomy from './MenuAnatomy.svg';
@@ -718,7 +718,7 @@ function Example() {
718718
}
719719
```
720720

721-
## Submenus <VersionBadge version="alpha" style={{marginLeft: 4, verticalAlign: 'bottom'}} />
721+
## Submenus
722722

723723
Submenus can be created by wrapping an item and a submenu in a `SubmenuTrigger`. The `SubmenuTrigger` accepts exactly two children: the first child should be the `MenuItem` which triggers opening of the submenu, and second child should be the `Popover` containing the submenu.
724724

0 commit comments

Comments
 (0)