Skip to content

[LoadingButton] Displaying incorrect warning #31235

@songhobby

Description

@songhobby

Current behavior 😯

<LoadingButton loadingPosition="start" .. .>...

This would prompt a warning

Warning: Failed prop type: MUI: The loadingPosition="start" should be used in combination with startIcon.'

However, the default loadingIndicator is used and a startIcon is not necessary here

Expected behavior 🤔

No warning

Steps to reproduce 🕹

No response

Context 🔦

No response

Your environment 🌎

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions