Skip to content

Commit 0de3cb5

Browse files
authored
Button docs: Remove pre-release version badge for isPending (#5600)
* remove version badge from pending button * keep header
1 parent 8ad0c43 commit 0de3cb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/@react-spectrum/button/docs/Button.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-spectrum/button';
14-
import {HeaderInfo, PropTable, PageDescription, VersionBadge} from '@react-spectrum/docs';
14+
import {HeaderInfo, PropTable, PageDescription} from '@react-spectrum/docs';
1515
import packageData from '@react-spectrum/button/package.json';
1616

1717
```jsx import
@@ -84,7 +84,7 @@ function Example() {
8484
}
8585
```
8686

87-
## Pending <VersionBadge version="beta" style={{marginLeft: 4, verticalAlign: 'bottom'}} />
87+
## Pending
8888

8989
Buttons can indicate that a quick progress task is taking place (e.g., saving settings on a server). After a 1 second delay, an indeterminate spinner will be displayed in place of the button label and icon. You can trigger this behavior with the `isPending` prop. Button events are disabled while `isPending` is true.
9090

0 commit comments

Comments
 (0)