Skip to content

Commit

Permalink
Fix LoadingButton deprecation message
Browse files Browse the repository at this point in the history
Previously, the JSdoc comment wasn't properly associated with the component.
  • Loading branch information
connor-baer committed Jan 6, 2022
1 parent 878cb22 commit 57eb738
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
* limitations under the License.
*/

import LoadingButton, { ButtonProps } from '../Button';
import Button, { ButtonProps } from '../Button';

export type LoadingButtonProps = ButtonProps;

/**
* @deprecated Use the Button component with the `isLoading` and `loadingLabel` props instead.
*/
export { LoadingButton };
export const LoadingButton = Button;

0 comments on commit 57eb738

Please sign in to comment.