diff --git a/packages/button/stories/button.stories.tsx b/packages/button/stories/button.stories.tsx index 7b5388c9ce6..fc17ebd2fb2 100644 --- a/packages/button/stories/button.stories.tsx +++ b/packages/button/stories/button.stories.tsx @@ -155,11 +155,11 @@ export const WithLoading = () => ( ) -export const WithLoadingSpinnerPosition = () => ( +export const WithLoadingSpinnerPlacement = () => ( ) + export const withDisabled = () => ( ``` +When a `loadingText` is present, you can change the placement of the spinner +element to either `start` or `end`. It is `start` by default. + +```jsx + + + + +``` + ### Social Buttons We've included the colors for common social media platforms, and you can simply @@ -262,14 +288,14 @@ props to style the button. ### Button Props -`Button` composes the `Box` component, so you can pass all its props. -These are props specific to the `Button` component: +`Button` composes the `Box` component, so you can pass all its props. These are +props specific to the `Button` component: ### Button Group Props -`ButtonGroup` composes the `Box` component, so you can pass all its props. -These are props specific to the `ButtonGroup` component: +`ButtonGroup` composes the `Box` component, so you can pass all its props. These +are props specific to the `ButtonGroup` component: