Skip to content

as property from reka-ui components #3778

Open
@kubilaymelnikov

Description

@kubilaymelnikov

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions