Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 [Feature]: Support for disabled for all icon components #366

Open
dengfuping opened this issue Dec 14, 2023 · 0 comments
Open

🚀 [Feature]: Support for disabled for all icon components #366

dengfuping opened this issue Dec 14, 2023 · 0 comments

Comments

@dengfuping
Copy link
Collaborator

Describe your use case

<XXXIcon disabled={true} />

Describe the solution you'd like

  • Auto set disabled style, like cursor: not-allowed; color: token.colorTextDisabled.
  • onClick doesn't work anymore.

Describe alternatives you've considered

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant