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

as property from reka-ui components #3778

Open
kubilaymelnikov opened this issue Apr 2, 2025 · 0 comments
Open

as property from reka-ui components #3778

kubilaymelnikov opened this issue Apr 2, 2025 · 0 comments
Labels
enhancement New feature or request triage v3 #1289

Comments

@kubilaymelnikov
Copy link

kubilaymelnikov commented Apr 2, 2025

Description

Hi everyone,
would it be possible to make the as property of reka-ui components configurable via the UI config or as a prop in the main component?
For example, it would be great if we could set an AccordionHeader to render as a div instead of an h3, or an AccordionTrigger as something other than a button.

I also tried to override the component directly, but importing from app.config in the first <script> tag turned out to be tricky.
I’m getting an error saying that the import cannot be resolved.

Additional context

No response

@kubilaymelnikov kubilaymelnikov added enhancement New feature or request triage v3 #1289 labels Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage v3 #1289
Projects
None yet
Development

No branches or pull requests

1 participant