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

Add JSX.Element to use in label #722

Open
lirompage opened this issue Mar 4, 2024 · 1 comment
Open

Add JSX.Element to use in label #722

lirompage opened this issue Mar 4, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@lirompage
Copy link

Is your feature request related to a problem? Please describe.
Hello, thanks for your plugin, my problem is I want to use JSX ELEMENT in Label

Describe the solution you'd like
Can you improve this interface like:

interface OptionWithJSXLabel {
value: string;
label: string | JSX.Element;
key?: string;
disabled?: boolean;
}

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@lirompage lirompage added the enhancement New feature or request label Mar 4, 2024
@lirompage
Copy link
Author

Understand, i need to use ItemRenderer...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant