Skip to content

Commit

Permalink
Button docs: Remove pre-release version badge for isPending (#5600)
Browse files Browse the repository at this point in the history
* remove version badge from pending button

* keep header
  • Loading branch information
reidbarber authored Dec 19, 2023
1 parent 8ad0c43 commit 0de3cb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@react-spectrum/button/docs/Button.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {Layout} from '@react-spectrum/docs';
export default Layout;

import docs from 'docs:@react-spectrum/button';
import {HeaderInfo, PropTable, PageDescription, VersionBadge} from '@react-spectrum/docs';
import {HeaderInfo, PropTable, PageDescription} from '@react-spectrum/docs';
import packageData from '@react-spectrum/button/package.json';

```jsx import
Expand Down Expand Up @@ -84,7 +84,7 @@ function Example() {
}
```

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

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.

Expand Down

1 comment on commit 0de3cb5

@rspbot
Copy link

@rspbot rspbot commented on 0de3cb5 Dec 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.