Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.
This repository was archived by the owner on Oct 9, 2023. It is now read-only.

Support custom tag #13

@frozenfung

Description

@frozenfung

Hi, team

Is there any chance that we can support custom tag for wrapper here? Yeah, I have to admit that div is fascinating and able to fit more than 95% cases, but what just happen is like below:

I need to server-render an component and previously wrapped in a span tag. And I implement hypernova and its cool helper method(Ruby on Rails based), after a while it succeed without doubt. However, because of the tag being switched from div to span, my layout looks like a disaster. Finally I have to reluctantly make some adjustment with my stylesheet and html structure, well, not so much, but you know.

Can you guys give me some advices on this topic? Or just let me know that I could submit a PR for this.

thanks man.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions