Skip to content

Button as=a renders with underlined text #502

@LinusU

Description

@LinusU

I'm trying to render a button, like the "New issue" here on GitHub, that is also a link so that it works without JS. When doing as='a' I do get an extra underline that disappears when hovering the button. It would be nice if it could be styled to not have an underline by default:

<ButtonPrimary as='a' href='/foo/bar'>New issue</ButtonPrimary>

Screenshot 2019-07-26 at 10 47 22

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